浏览代码

fix(p2p) Enable p2p for Safari

master
Jaya Allamsetty 2 年前
父节点
当前提交
c24537454c
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      JitsiConference.js

+ 1
- 3
JitsiConference.js 查看文件

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

正在加载...
取消
保存