-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set prefer codec created by remote sdp
If a transceiver is created by remote sdp, then set prefer codec same as offer peer. For pion's codec match, it will use exact match first, and then partial match. If patial match only, the partial match codecs will become negotiated codes. So it will be set prefer codec when only exist partial match. And has same payload. Add test cast for this. refer to https://www.w3.org/TR/webrtc/#bib-rfc8829
- Loading branch information
1 parent
5f6baf7
commit 635bfd9
Showing
3 changed files
with
138 additions
and
0 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