浏览代码

feat(spot): pass JitsiConnection to ProxyConnectionService to get TURN

j8
paweldomas 6 年前
父节点
当前提交
19a27e75bd
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      conference.js

+ 7
- 0
conference.js 查看文件

2699
     onProxyConnectionEvent(event) {
2699
     onProxyConnectionEvent(event) {
2700
         if (!this._proxyConnection) {
2700
         if (!this._proxyConnection) {
2701
             this._proxyConnection = new JitsiMeetJS.ProxyConnectionService({
2701
             this._proxyConnection = new JitsiMeetJS.ProxyConnectionService({
2702
+
2703
+                /**
2704
+                 * Pass the {@code JitsiConnection} instance which will be used
2705
+                 * to fetch TURN credentials.
2706
+                 */
2707
+                jitsiConnection: APP.connection,
2708
+
2702
                 /**
2709
                 /**
2703
                  * The proxy connection feature is currently tailored towards
2710
                  * The proxy connection feature is currently tailored towards
2704
                  * taking a proxied video stream and showing it as a local
2711
                  * taking a proxied video stream and showing it as a local

正在加载...
取消
保存