Chromium Code Reviews
DescriptionAvoid toggling default receive streams in WebRtcVideoChannel2.
This CL removes |default_recv_ssrc_| from DefaultUnsignalledSsrcHandler
and replaces it with calls to a new member function
WebRtcVideoChannel2::GetDefaultReceiveStreamSsrc. The latter checks
the |default_stream_| member on the
WebRtcVideoChannel2::WebRtcVideoReceiveStreams to know which stream
is the current default stream.
This change removes duplicate state and fixes an issue where
incoming unsignaled SSRCs would compete for being the default
receive stream.
BUG=webrtc:7725
Review-Url: https://codereview.webrtc.org/2906893002
Cr-Commit-Position: refs/heads/master@{#18314}
Committed: https://chromium.googlesource.com/external/webrtc/+/0dc57eabf6471084df5b9123eb1271636d8f99f3
Patch Set 1 : Unit test. #Patch Set 2 : Fix. #
Total comments: 2
Patch Set 3 : sprang comments 1. #
Messages
Total messages: 19 (12 generated)
|
|||||||||||||||||||||||||||||||||||||