DescriptionWhen a track is added/removed directly to MediaStream notify observer->OnRenegotionNeeded
There is an inconsistency in behavior of PeerConnection.
When I remove track from PeerConnection observer->OnRenegotiationNeeded is called, however if I remove track from MediaStream then there is no notification to renegotiate.
This patch adds missing OnRenegotiationNeeded calls.
BUG=webrtc:7966
Review-Url: https://codereview.webrtc.org/2977493002
Cr-Commit-Position: refs/heads/master@{#19125}
Committed: https://chromium.googlesource.com/external/webrtc/+/ec390b5dfbadb9972e4fafa36226d1724c6c2204
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added review comments #Patch Set 3 : Fix tests. Apply patch. #Patch Set 4 : When removing stream, do not remove tracks if pc is closed #
Messages
Total messages: 21 (9 generated)
|