Index: modules/mediastream/RTCPeerConnection.idl |
diff --git a/modules/mediastream/RTCPeerConnection.idl b/modules/mediastream/RTCPeerConnection.idl |
index 4d2459ffa022b8d6bf4d5f9bbfab3d6b15aa9765..6f24471e2531d0574cb334a1c85cdfea11c38b5a 100644 |
--- a/modules/mediastream/RTCPeerConnection.idl |
+++ b/modules/mediastream/RTCPeerConnection.idl |
@@ -29,14 +29,14 @@ |
*/ |
[ |
- WillBeGarbageCollected, |
+ GarbageCollected, |
ActiveDOMObject, |
- Constructor(Dictionary rtcIceServers, optional Dictionary mediaConstraints), |
+ Constructor(Dictionary rtcConfiguration, optional Dictionary mediaConstraints), |
ConstructorCallWith=ExecutionContext, |
NoInterfaceObject, |
RaisesException=Constructor, |
] interface RTCPeerConnection : EventTarget { |
- [RaisesException] void createOffer(RTCSessionDescriptionCallback successCallback, [Default=Undefined] optional RTCErrorCallback failureCallback, optional Dictionary mediaConstraints); |
+ [RaisesException] void createOffer(RTCSessionDescriptionCallback successCallback, [Default=Undefined] optional RTCErrorCallback failureCallback, optional Dictionary rtcOfferOptions); |
[RaisesException] void createAnswer(RTCSessionDescriptionCallback successCallback, [Default=Undefined] optional RTCErrorCallback failureCallback, optional Dictionary mediaConstraints); |
@@ -62,12 +62,12 @@ |
sequence<MediaStream> getRemoteStreams(); |
MediaStream getStreamById(DOMString streamId); |
- [TypeChecking=Interface|Nullable, RaisesException] void addStream(MediaStream? stream, optional Dictionary mediaConstraints); |
- [TypeChecking=Interface|Nullable, RaisesException] void removeStream(MediaStream? stream); |
+ [TypeChecking=Interface, RaisesException] void addStream(MediaStream? stream, optional Dictionary mediaConstraints); |
+ [TypeChecking=Interface, RaisesException] void removeStream(MediaStream? stream); |
void getStats(RTCStatsCallback successCallback, [Default=Undefined] optional MediaStreamTrack selector); |
- [RaisesException] RTCDataChannel createDataChannel([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString label, optional Dictionary options); |
+ [RaisesException] RTCDataChannel createDataChannel([TreatUndefinedAs=NullString] DOMString? label, optional Dictionary options); |
[RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track); |