-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Empty iceServers.urls handling fix
According to https://www.w3.org/TR/webrtc/#set-the-configuration browser should throw SyntaxError when starting call with `iceServers` defined with empty `urls`. Talk may call `RTCPeerConnection` with empty `iceServers[0].urls` when no STUN nor TURN servers are configured (tested with HPB) what makes Firefox to throw errors like `RTCPeerConnection constructor passed invalid RTCConfiguration - urls is empty SyntaxError`. With this fix Talk will no longer generate STUN and TURN server settings with empty (or invalid) `urls`. Author-Change-Id: IB#1125985 Signed-off-by: Pawel Boguslawski <[email protected]> Signed-off-by: Daniel Calviño Sánchez <[email protected]>
- Loading branch information
1 parent
1495f50
commit 292150f
Showing
2 changed files
with
238 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters