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

This commit is contained in:
paweldomas 2019-03-13 13:15:56 -05:00 committed by Paweł Domas
parent cb8e9eed5e
commit 19a27e75bd
1 changed files with 7 additions and 0 deletions

View File

@ -2699,6 +2699,13 @@ export default {
onProxyConnectionEvent(event) { onProxyConnectionEvent(event) {
if (!this._proxyConnection) { if (!this._proxyConnection) {
this._proxyConnection = new JitsiMeetJS.ProxyConnectionService({ this._proxyConnection = new JitsiMeetJS.ProxyConnectionService({
/**
* Pass the {@code JitsiConnection} instance which will be used
* to fetch TURN credentials.
*/
jitsiConnection: APP.connection,
/** /**
* The proxy connection feature is currently tailored towards * The proxy connection feature is currently tailored towards
* taking a proxied video stream and showing it as a local * taking a proxied video stream and showing it as a local