Pārlūkot izejas kodu

fix(ProxyConnection) add new required stubs

Fixes Spot not being able to use the wireless screen sharing feature.
dev1
Saúl Ibarra Corretgé 4 gadus atpakaļ
vecāks
revīzija
6eaffc4b11
1 mainītis faili ar 5 papildinājumiem un 2 dzēšanām
  1. 5
    2
      modules/proxyconnection/ProxyConnectionPC.js

+ 5
- 2
modules/proxyconnection/ProxyConnectionPC.js Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt