| 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 91e8a8d722196132a61e30db73d350a99e3b8a8a..1c5c9117a5e3e3133f8cbc0144e8fac33e3b27c4 100644
|
| --- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
|
| +++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
|
| @@ -112,10 +112,15 @@ enum RTCIceConnectionState {
|
| // spec, remove it or change it?): https://github.com/w3c/webrtc-stats/issues/116
|
| [CallWith=ScriptState] Promise<RTCStatsReport> getStats();
|
|
|
| + // RTP Media API
|
| // https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-getsenders
|
| [RuntimeEnabled=RTCRtpSender] sequence<RTCRtpSender> getSenders();
|
| // https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-getreceivers
|
| sequence<RTCRtpReceiver> getReceivers();
|
| + // https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-addtrack
|
| + [RuntimeEnabled=RTCRtpSender, RaisesException] RTCRtpSender addTrack(MediaStreamTrack track, MediaStream... streams);
|
| + // https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-removetrack
|
| + [RuntimeEnabled=RTCRtpSender, RaisesException] void removeTrack(RTCRtpSender sender);
|
|
|
| // https://w3c.github.io/webrtc-pc/#peer-to-peer-data-api
|
| [CallWith=ScriptState, RaisesException] RTCDataChannel createDataChannel(USVString label, optional RTCDataChannelInit dataChannelDict);
|
|
|