浏览代码

fix(ProxyConnection) add new required stubs

Fixes Spot not being able to use the wireless screen sharing feature.
dev1
Saúl Ibarra Corretgé 4 年前
父节点
当前提交
6eaffc4b11
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5
    2
      modules/proxyconnection/ProxyConnectionPC.js

+ 5
- 2
modules/proxyconnection/ProxyConnectionPC.js 查看文件

@@ -228,14 +228,17 @@ export default class ProxyConnectionPC {
228 228
 
229 229
                 return {};
230 230
             },
231
-            removePresenceListener: () => { /** no-op */ }
231
+            removePresenceListener: () => { /** no-op */ },
232
+            supportsRestartByTerminate: () => false
232 233
         };
233 234
 
234 235
         /**
235 236
          * A {@code JitsiConference} stub passed to the {@link RTC} module.
236 237
          * @type {Object}
237 238
          */
238
-        const conferenceStub = {};
239
+        const conferenceStub = {
240
+            myUserId: () => ''
241
+        };
239 242
 
240 243
         /**
241 244
          * Create an instance of {@code RTC} as it is required for peer

正在加载...
取消
保存