Przeglądaj źródła

feat: Switch to unified plan on chrome by default unless explicitly disabled.

tags/v0.0.2
Jaya Allamsetty 4 lat temu
rodzic
commit
4ed91b68c5
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3
    1
      modules/xmpp/JingleSessionPC.js

+ 3
- 1
modules/xmpp/JingleSessionPC.js Wyświetl plik

@@ -341,7 +341,9 @@ export default class JingleSessionPC extends JingleSession {
341 341
                     || (browser.isChromiumBased()
342 342
 
343 343
                         // Provide a way to control the behavior for jvb and p2p connections independently.
344
-                        && this.isP2P ? options.p2p?.enableUnifiedOnChrome : options.enableUnifiedOnChrome));
344
+                        && this.isP2P
345
+                        ? options.p2p?.enableUnifiedOnChrome ?? true
346
+                        : options.enableUnifiedOnChrome ?? true));
345 347
 
346 348
         if (this.isP2P) {
347 349
             // simulcast needs to be disabled for P2P (121) calls

Ładowanie…
Anuluj
Zapisz