-
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.
Reuse passive created sendonly transceiver
When peerconnection create a transceiver by remote's recvonly offer, the transceiver will have nil sender but can't be reused since its currentDirection is set to sendonly. This pr change the currentDirection to inactive so it can be reused by AddTrack.
- Loading branch information
1 parent
5b41ed6
commit 3c802f7
Showing
2 changed files
with
60 additions
and
6 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