浏览代码

fix(rtc) Fix setting effects while not in a conference.

dev1
tudordan7 4 年前
父节点
当前提交
cd53f249c5
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      modules/RTC/JitsiLocalTrack.js

+ 3
- 0
modules/RTC/JitsiLocalTrack.js 查看文件

402
 
402
 
403
         if (!conference) {
403
         if (!conference) {
404
             this._switchStreamEffect(effect);
404
             this._switchStreamEffect(effect);
405
+            if (this.isVideoTrack()) {
406
+                this.containers.forEach(cont => RTCUtils.attachMediaStream(cont, this.stream));
407
+            }
405
 
408
 
406
             return Promise.resolve();
409
             return Promise.resolve();
407
         }
410
         }

正在加载...
取消
保存