forked from JumpingYang001/webrtc
-
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.
Add small cooldown to unsignalled ssrc stream creation.
This CL adds a cooldown of 0.5 seconds where if the WebRtcVideoChannel created an unsignalled receive stream within that amount of time, if we receive even more unknown ssrcs we simply drop those RTP packets. This prevents getting into a state of spawning new decoders on every single packet which could happen e.g. if PT based demuxing is enabled and MIDs are missing from the packets. Bug: webrtc:12815 Change-Id: Id7675fb0cbfbc72281dcfe030d1a35629df3eb9f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/221520 Reviewed-by: Taylor Brandstetter <[email protected]> Reviewed-by: Harald Alvestrand <[email protected]> Commit-Queue: Henrik Boström <[email protected]> Cr-Commit-Position: refs/heads/master@{#34263}
- Loading branch information
Showing
3 changed files
with
120 additions
and
48 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
Oops, something went wrong.