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

Unified Diff: third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h

Issue 2749703005: RTCRtpSender with track behind RuntimeEnabled flag (Closed)
Patch Set: external/wpt/webrtc/RTCPeerConnection-idl-expected.txt updated passing 2 more tests Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/platform/WebRTCRtpSender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h
diff --git a/third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h b/third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h
index 75268f13cd63fa2d8bbe53322f9ee25697e56782..eefeb6144256d6018fa8e1041a2351804825c9ae 100644
--- a/third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h
+++ b/third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h
@@ -46,6 +46,7 @@ enum class WebRTCErrorType;
class WebRTCICECandidate;
class WebRTCOfferOptions;
class WebRTCRtpReceiver;
+class WebRTCRtpSender;
class WebRTCSessionDescription;
class WebRTCSessionDescriptionRequest;
class WebRTCStatsRequest;
@@ -94,6 +95,10 @@ class WebRTCPeerConnectionHandler {
virtual WebRTCDataChannelHandler* CreateDataChannel(
const WebString& label,
const WebRTCDataChannelInit&) = 0;
+ // Gets senders used by the peer connection. These are wrappers referencing
+ // webrtc-layer senders, multiple |WebRTCRtpSender| objects referencing the
+ // same webrtc-layer sender have the same |id|.
+ virtual WebVector<std::unique_ptr<WebRTCRtpSender>> GetSenders() = 0;
// Gets receivers used by the peer connection. These are wrappers referencing
// webrtc-layer receivers, multiple |WebRTCRtpReceiver| objects referencing
// the same webrtc-layer receiver have the same |id|.
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/platform/WebRTCRtpSender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698