Temporary fix for Firefox because trouble with TURN tcp

auto_join_3.3
Håvar Aambø Fosstveit 2020-03-24 19:50:56 +01:00
parent 376ed6d44f
commit 0600d1207b
1 changed files with 5 additions and 1 deletions

View File

@ -2104,6 +2104,8 @@ export default class RoomClient
iceCandidates,
dtlsParameters,
iceServers : this._turnServers,
// TODO: Fix for issue #72
iceTransportPolicy : this._device.flag === 'firefox' ? 'relay' : undefined,
proprietaryConstraints : PC_PROPRIETARY_CONSTRAINTS
});
@ -2165,7 +2167,9 @@ export default class RoomClient
iceParameters,
iceCandidates,
dtlsParameters,
iceServers : this._turnServers
iceServers : this._turnServers,
// TODO: Fix for issue #72
iceTransportPolicy : this._device.flag === 'firefox' ? 'relay' : undefined
});
this._recvTransport.on(