Add createAnswer

This commit is contained in:
Manish Goregaokar 2019-01-26 22:40:44 -08:00
parent c156289a0c
commit cfc235bad2
2 changed files with 58 additions and 8 deletions

View file

@ -8,7 +8,7 @@
Exposed=Window, Pref="dom.webrtc.enabled"]
interface RTCPeerConnection : EventTarget {
Promise<RTCSessionDescriptionInit> createOffer(optional RTCOfferOptions options);
// Promise<RTCSessionDescriptionInit> createAnswer(optional RTCAnswerOptions options);
Promise<RTCSessionDescriptionInit> createAnswer(optional RTCAnswerOptions options);
// Promise<void> setLocalDescription(RTCSessionDescriptionInit description);
// readonly attribute RTCSessionDescription? localDescription;
// readonly attribute RTCSessionDescription? currentLocalDescription;
@ -85,4 +85,4 @@ dictionary RTCOfferOptions : RTCOfferAnswerOptions {
};
dictionary RTCAnswerOptions : RTCOfferAnswerOptions {
};
};