Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: talk/app/webrtc/mediastreamsignaling.h

Issue 1231613002: Fixing scenario where track is rejected and later un-rejected. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Removing debug log messages Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: talk/app/webrtc/mediastreamsignaling.h
diff --git a/talk/app/webrtc/mediastreamsignaling.h b/talk/app/webrtc/mediastreamsignaling.h
index 87eede6305d26ad1956b74a7f3808e430b1e800b..fc50f46360fc216b3efd2d79929a9da7a8289fc4 100644
--- a/talk/app/webrtc/mediastreamsignaling.h
+++ b/talk/app/webrtc/mediastreamsignaling.h
@@ -327,6 +327,12 @@ class MediaStreamSignaling : public sigslot::has_slots<> {
// tracks of type |media_type|.
void RejectRemoteTracks(cricket::MediaType media_type);
+ // Set the MediaStreamTrackInterface::TrackState to |kLive| on all remote
+ // tracks of type |media_type|.
+ // Needed in case the local description caused the track to be rejected,
+ // then later accepted, without being destroyed.
+ void AcceptRemoteTracks(cricket::MediaType media_type);
+
// Finds remote MediaStreams without any tracks and removes them from
// |remote_streams_| and notifies the observer that the MediaStream no longer
// exist.

Powered by Google App Engine
This is Rietveld 408576698