Browse Source

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

j8
paweldomas 6 years ago
parent
commit
19a27e75bd
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      conference.js

+ 7
- 0
conference.js View File

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

Loading…
Cancel
Save