Browse Source

fix(p2p) Enable p2p for Safari

master
Jaya Allamsetty 2 years ago
parent
commit
c24537454c
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      JitsiConference.js

+ 1
- 3
JitsiConference.js View File

@@ -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
 

Loading…
Cancel
Save