Add RTCPeerConnection::SetLocalDescription

This commit is contained in:
Manish Goregaokar 2019-01-27 08:49:55 -08:00
parent cfc235bad2
commit 95cd67cb65
2 changed files with 59 additions and 4 deletions

View file

@ -9,8 +9,8 @@
interface RTCPeerConnection : EventTarget {
Promise<RTCSessionDescriptionInit> createOffer(optional RTCOfferOptions options);
Promise<RTCSessionDescriptionInit> createAnswer(optional RTCAnswerOptions options);
// Promise<void> setLocalDescription(RTCSessionDescriptionInit description);
// readonly attribute RTCSessionDescription? localDescription;
Promise<void> setLocalDescription(RTCSessionDescriptionInit description);
readonly attribute RTCSessionDescription? localDescription;
// readonly attribute RTCSessionDescription? currentLocalDescription;
// readonly attribute RTCSessionDescription? pendingLocalDescription;
// Promise<void> setRemoteDescription(RTCSessionDescriptionInit description);