Procházet zdrojové kódy

fix(p2p) Enable p2p for Safari

master
Jaya Allamsetty před 2 roky
rodič
revize
c24537454c
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  1. 1
    3
      JitsiConference.js

+ 1
- 3
JitsiConference.js Zobrazit soubor

@@ -2164,8 +2164,7 @@ JitsiConference.prototype._onIncomingCallP2P = function(jingleSession, jingleOff
2164 2164
             errorMsg: 'P2P across two endpoints in different SDP modes is disabled'
2165 2165
         };
2166 2166
     } else if ((!this.isP2PEnabled() && !this.isP2PTestModeEnabled())
2167
-        || browser.isFirefox()
2168
-        || browser.isWebKitBased()) {
2167
+        || browser.isFirefox()) {
2169 2168
         rejectReason = {
2170 2169
             reason: 'decline',
2171 2170
             reasonDescription: 'P2P disabled',
@@ -3462,7 +3461,6 @@ JitsiConference.prototype._maybeStartOrStopP2P = function(userLeftEvent) {
3462 3461
     if (!this.isP2PEnabled()
3463 3462
             || this.isP2PTestModeEnabled()
3464 3463
             || browser.isFirefox()
3465
-            || browser.isWebKitBased()
3466 3464
             || this.isE2EEEnabled()) {
3467 3465
         logger.info('Auto P2P disabled');
3468 3466
 

Načítá se…
Zrušit
Uložit