forked from paullouisageneau/libjuice
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow specifying initial ice mode
RFC 8445 6.1.1 says: > The initiating agent that started the ICE processing MUST take the controlling role, and the other MUST take the controlled role. The spec also shows how to resolve conflicts when both agents are in the controlling role. From what I can see here, libjuice will always start in controlling mode and try to resolve the conflict before contining but it appears some implementations [don't support that](pion/ice#359 (comment)) so one agent has to start in controlled role. The change here is to allow passing the role to `juice_set_local_ice_attributes` in order to start the receiving agent off in the controlled role.
- Loading branch information
1 parent
2fb91a3
commit 1a6309a
Showing
5 changed files
with
57 additions
and
50 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
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
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