Selaa lähdekoodia

fix(ProxyConnection) add new required stubs

Fixes Spot not being able to use the wireless screen sharing feature.
dev1
Saúl Ibarra Corretgé 4 vuotta sitten
vanhempi
commit
6eaffc4b11
1 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 5
    2
      modules/proxyconnection/ProxyConnectionPC.js

+ 5
- 2
modules/proxyconnection/ProxyConnectionPC.js Näytä tiedosto

@@ -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…
Peruuta
Tallenna