trtc-electron-sdk 11.4.504-beta.1 → 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.
Files changed (2) hide show
  1. package/liteav/trtc.js +0 -9
  2. 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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trtc-electron-sdk",
3
- "version": "11.4.504-beta.1",
3
+ "version": "11.4.504-beta.3",
4
4
  "description": "trtc electron sdk",
5
5
  "main": "./liteav/trtc.js",
6
6
  "types": "./liteav/trtc.d.ts",