DescriptionIf encoding is inactive, don't start sending when stream is reconfigured.
RecreateWebRtcStream was checking the "sending_" flag, but wasn't
checking rtp_parameters_.encodings[0].active. As a result, if an
application calls "RtpSender.setParameters(inactive_params)" then later
the stream is recreated due to some change in SDP parameters, the stream
would incorrectly start sending.
R=pthatcher@webrtc.org, skvlad@webrtc.org
Committed: https://chromium.googlesource.com/external/webrtc/+/14b9d79bd6b33d753c3215a354be5d94054d4acb
Patch Set 1 #Patch Set 2 : Making a test assertion better (don't compare pointer addresses). #
Messages
Total messages: 20 (10 generated)
|