From ab6ef8a1fac26c8dbd577649ff097f3071c5d691 Mon Sep 17 00:00:00 2001 From: Jan-Ivar Bruaroey Date: Fri, 22 Mar 2019 14:29:06 -0400 Subject: [PATCH] s/LastOffer/LastCreateOffer/ ditto answer. --- webrtc.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/webrtc.html b/webrtc.html index 6bb422091..84c03b175 100644 --- a/webrtc.html +++ b/webrtc.html @@ -1069,11 +1069,11 @@

Constructor

to an empty list.

  • -

    Let connection have an [[\LastOffer]] +

    Let connection have an [[\LastCreateOffer]] internal slot, initialized to "".

  • -

    Let connection have an [[\LastAnswer]] +

    Let connection have an [[\LastCreateAnswer]] internal slot, initialized to "".

  • @@ -1320,7 +1320,7 @@

    Set the RTCSessionDescription

    If description is set as a local description, if description.type is "offer" and description.sdp - is not equal to connection's [[\LastOffer]] slot, + is not equal to connection's [[\LastCreateOffer]] slot, then return a promise rejected with a newly created InvalidModificationError and abort these steps.

    @@ -1330,7 +1330,7 @@

    Set the RTCSessionDescription

    if description.type is "answer" or "pranswer" and description.sdp is not equal - to connection's [[\LastAnswer]] slot, + to connection's [[\LastCreateAnswer]] slot, then return a promise rejected with a newly created InvalidModificationError and abort these steps.

    @@ -1433,8 +1433,8 @@

    Set the RTCSessionDescription

    Set both connection.[[\PendingRemoteDescription]] and connection.[[\PendingLocalDescription]] to null. Set both - connection.[[\LastOffer]] and - connection.[[\LastAnswer]] to + connection.[[\LastCreateOffer]] and + connection.[[\LastCreateAnswer]] to "". Finally set connection's signaling state to "stable".

  • @@ -2712,7 +2712,7 @@

    Methods

    "offer" and its sdp member initialized to sdpString.

    -
  • Set the [[\LastOffer]] internal slot to +

  • Set the [[\LastCreateOffer]] internal slot to sdpString.

  • @@ -2937,7 +2937,7 @@

    Methods

    "answer" and its sdp member initialized to sdpString.

  • -
  • Set the [[\LastAnswer]] internal slot to +

  • Set the [[\LastCreateAnswer]] internal slot to sdpString.

  • @@ -2976,12 +2976,12 @@

    Methods

    empty string and description.type is "answer" or "pranswer", set description.sdp to the value of - connection's [[\LastAnswer]] slot.
  • + connection's [[\LastCreateAnswer]] slot.
  • If description.sdp is the empty string and description.type is "offer", set description.sdp to the value of connection's - [[\LastOffer]] slot.
  • + [[\LastCreateOffer]] slot.
  • Return the result of setting the RTCSessionDescription indicated by description.