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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h

Issue 2951713002: RTCPeerConnection.addTrack and removeTrack added (behind flag) (Closed)
Patch Set: Addressed deadbeef's comments Created 3 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: third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h b/third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h
index ce79a2cc28788343930342b4caae19accd1aede4..576c212712b707596052a56df3c8e39da934ba8d 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h
@@ -26,6 +26,11 @@ class RTCRtpSender final : public GarbageCollectedFinalized<RTCRtpSender>,
MediaStreamTrack* track();
+ WebRTCRtpSender* web_rtp_sender();
+ // Sets the track. This must be called when the |WebRTCRtpSender| has its
+ // track updated, and the |track| must match the |WebRTCRtpSender::Track|.
+ void SetTrack(MediaStreamTrack*);
+
DECLARE_VIRTUAL_TRACE();
private:

Powered by Google App Engine
This is Rietveld 408576698