W3C home > Mailing lists > Public > public-webrtc@w3.org > August 2017

RTCSdpType "rollback" and why sdp field is needed?

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Sun, 6 Aug 2017 11:12:05 +0200
Message-ID: <CALiegfm3qWcudyF29bR6QNxVNXGwq=OmwfxbJxcT3EtMZhe+bQ@mail.gmail.com>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
Hi,

When calling setLocalDescription() or setRemoteDescription() with {
type: "rollback" , sdp: ??? }, what is sdp field supposed to have?

According to the doc:

> An RTCSdpType of rollback indicates that a description must be treated as canceling the current SDP negotiation and moving the SDP [SDP] offer and answer back to what it was in the previous stable state. Note the local or remote SDP descriptions in the previous stable state could be null if there has not yet been a successful offer-answer negotiation.

Note that sdp field in RTCSessionDescriptionInit is not
nullable/optional, so what is it supposed to hold when using type
"rollback" and why is it needed at all such a sdp field?

-- 
Iñaki Baz Castillo
<ibc@aliax.net>
Received on Sunday, 6 August 2017 09:12:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:36 UTC