瀏覽代碼

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,6 +2699,13 @@ export default {
2699 2699
     onProxyConnectionEvent(event) {
2700 2700
         if (!this._proxyConnection) {
2701 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 2710
                  * The proxy connection feature is currently tailored towards
2704 2711
                  * taking a proxied video stream and showing it as a local

Loading…
取消
儲存