浏览代码

fix: Don't remove the TURN port if it's the default. (#719)

3478 is default for TURN, but not for TURNS. Reported by @damencho.
dev1
bgrozev 7 年前
父节点
当前提交
0b9362bd0a
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      modules/xmpp/strophe.jingle.js

+ 1
- 1
modules/xmpp/strophe.jingle.js 查看文件

@@ -349,7 +349,7 @@ class JingleConnectionPlugin extends ConnectionPlugin {
349 349
                         dict.url += el.attr('host');
350 350
                         const port = el.attr('port');
351 351
 
352
-                        if (port && port !== '3478') {
352
+                        if (port) {
353 353
                             dict.url += `:${el.attr('port')}`;
354 354
                         }
355 355
                         const transport = el.attr('transport');

正在加载...
取消
保存