瀏覽代碼

fix(ProxyConnection) add new required stubs

Fixes Spot not being able to use the wireless screen sharing feature.
tags/v0.0.2
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

Loading…
取消
儲存