DescriptionFixing scenario where track is rejected and later un-rejected.
Added `RestartLocalTracks` and `RestartRemoteTracks` methods to
`MediaStreamHandlerContainer` which will redo the track handlers'
initial setup; most importantly, this will re-connect the
renderer/capturer/etc. to a channel which was destroyed and then
re-created.
Also added `AcceptRemoteTracks` method to MediaStreamSignaling, which
does the inverse of `RejectRemoteTracks`. Effectively this will notify
sinks that the track is live again, after previously being set to
`kEnded` when it was rejected.
BUG=webrtc:2136
Committed: https://crrev.com/be37888b6d5d269dbd5385569dba15c0d70594f2
Cr-Commit-Position: refs/heads/master@{#9600}
Patch Set 1 #Patch Set 2 : Removing debug log messages #
Total comments: 6
Patch Set 3 : Combining "Accept" and "Reject" methods to avoid duplicate code #Patch Set 4 : Changing method naming as suggested #
Total comments: 2
Patch Set 5 : Removing obsolete method #
Messages
Total messages: 16 (4 generated)
|