From ab6ef8a1fac26c8dbd577649ff097f3071c5d691 Mon Sep 17 00:00:00 2001
From: Jan-Ivar Bruaroey 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 ""
.
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.
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 @@ null
. Set both
- connection.[[\LastOffer]] and
- connection.[[\LastAnswer]] to
+ connection.[[\LastCreateOffer]] and
+ connection.[[\LastCreateAnswer]] to
""
. Finally set connection's
signaling state to "stable"
.
"offer"
and its sdp
member
initialized to sdpString.
- Set the [[\LastOffer]] internal slot to +
Set the [[\LastCreateOffer]] internal slot to sdpString.
"answer"
and its sdp
member
initialized to sdpString.
Set the [[\LastAnswer]] internal slot to +
Set the [[\LastCreateAnswer]] internal slot to sdpString.
description.type
is "answer"
or "pranswer"
,
set description.sdp
to the value of
- connection's [[\LastAnswer]] slot.description.sdp
is the
empty string and description.type
is "offer"
, set description.sdp
to the value of connection's
- [[\LastOffer]] slot.description
.