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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl

Issue 2759953003: Interface RTCRtpReceiver and RTCPeerConnection.getReceivers() added. (Closed)
Patch Set: DISALLOW_COPY_AND_ASSIGN Created 3 years, 9 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/RTCPeerConnection.idl
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
index 4a6e6de67920bf5c6fb02a535ac93f2d151ca289..4c793b3783abc947a45f339539b8ba4a24fed0f9 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
@@ -112,6 +112,9 @@ enum RTCIceConnectionState {
// spec, remove it or change it?): https://github.com/w3c/webrtc-stats/issues/116
[CallWith=ScriptState] Promise<RTCStatsReport> getStats();
+ // https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-getreceivers
+ [RuntimeEnabled=RTCRtpReceiver] sequence<RTCRtpReceiver> getReceivers();
+
// https://w3c.github.io/webrtc-pc/#peer-to-peer-data-api
// TODO(guidou): The label argument should have [TreatNullAs=EmptyString]
// and be non-nullable.

Powered by Google App Engine
This is Rietveld 408576698