Quellcode durchsuchen

fix(ProxyConnection) add more necessary stubs

These have becomee necessary with the introduction of multi-stream.
release-8443
Saúl Ibarra Corretgé vor 3 Jahren
Ursprung
Commit
4e4bd8d2ca
1 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
  1. 4
    2
      modules/proxyconnection/ProxyConnectionPC.js

+ 4
- 2
modules/proxyconnection/ProxyConnectionPC.js Datei anzeigen

@@ -217,7 +217,8 @@ export default class ProxyConnectionPC {
217 217
          * @type {Object}
218 218
          */
219 219
         const roomStub = {
220
-            addPresenceListener: () => { /** no-op */ },
220
+            addEventListener: () => { /* no op */ },
221
+            addPresenceListener: () => { /* no-op */ },
221 222
             connectionTimes: [],
222 223
             eventEmitter: { emit: emitter },
223 224
             getMediaPresenceInfo: () => {
@@ -225,7 +226,8 @@ export default class ProxyConnectionPC {
225 226
 
226 227
                 return {};
227 228
             },
228
-            removePresenceListener: () => { /** no-op */ },
229
+            removeEventListener: () => { /* no op */ },
230
+            removePresenceListener: () => { /* no-op */ },
229 231
             supportsRestartByTerminate: () => false
230 232
         };
231 233
 

Laden…
Abbrechen
Speichern