-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When closing a PeerConnection that is using the stats recorder as an interceptor, the process may block. I've dug a little bit and found out the calls to GetStats(), QueueIncomingRTP(), QueueIncomingRTCP(), QueueOutgoingRTP() and QueueOutgoingRTCP() block when the recorder is not yet started or stopped. I've added both TestGetStatsNotBlocking and TestQueueNotBlocking tests to test this.
- Loading branch information
Showing
3 changed files
with
124 additions
and
54 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