Firefox relay if turnservers configured, fixes #160
parent
43e5769151
commit
c521bb9ad1
|
|
@ -2349,7 +2349,7 @@ export default class RoomClient
|
||||||
dtlsParameters,
|
dtlsParameters,
|
||||||
iceServers : this._turnServers,
|
iceServers : this._turnServers,
|
||||||
// TODO: Fix for issue #72
|
// TODO: Fix for issue #72
|
||||||
iceTransportPolicy : this._device.flag === 'firefox' ? 'relay' : undefined,
|
iceTransportPolicy : this._device.flag === 'firefox' && this._turnServers ? 'relay' : undefined,
|
||||||
proprietaryConstraints : PC_PROPRIETARY_CONSTRAINTS
|
proprietaryConstraints : PC_PROPRIETARY_CONSTRAINTS
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -2413,7 +2413,7 @@ export default class RoomClient
|
||||||
dtlsParameters,
|
dtlsParameters,
|
||||||
iceServers : this._turnServers,
|
iceServers : this._turnServers,
|
||||||
// TODO: Fix for issue #72
|
// TODO: Fix for issue #72
|
||||||
iceTransportPolicy : this._device.flag === 'firefox' ? 'relay' : undefined
|
iceTransportPolicy : this._device.flag === 'firefox' && this._turnServers ? 'relay' : undefined
|
||||||
});
|
});
|
||||||
|
|
||||||
this._recvTransport.on(
|
this._recvTransport.on(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue