trtc-electron-sdk 11.4.504-beta.2 → 11.4.504-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/liteav/trtc.js +0 -9
- package/package.json +1 -1
package/liteav/trtc.js
CHANGED
|
@@ -607,15 +607,6 @@ class TRTCCloud extends events_1.EventEmitter {
|
|
|
607
607
|
* @param {Number} reason - 离开原因,0表示用户主动退出房间,1表示用户超时退出,2表示被踢出房间。
|
|
608
608
|
*/
|
|
609
609
|
handleOnRemoteUserLeaveRoom(userId, reason) {
|
|
610
|
-
const streamTypeList = [
|
|
611
|
-
trtc_define_1.TRTCVideoStreamType.TRTCVideoStreamTypeBig,
|
|
612
|
-
trtc_define_1.TRTCVideoStreamType.TRTCVideoStreamTypeSub,
|
|
613
|
-
trtc_define_1.TRTCVideoStreamType.TRTCVideoStreamTypeSmall
|
|
614
|
-
];
|
|
615
|
-
streamTypeList.forEach(streamType => {
|
|
616
|
-
const key = this.getKey(userId, streamType);
|
|
617
|
-
this._destroyRenderer(key, null);
|
|
618
|
-
});
|
|
619
610
|
this.fire('onRemoteUserLeaveRoom', userId, reason);
|
|
620
611
|
}
|
|
621
612
|
/**
|