W3C home > Mailing lists > Public > public-webrtc@w3.org > February 2014

Re: Panic between createOffer() and setLocalDescription()

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Wed, 19 Feb 2014 09:53:29 +0100
Message-ID: <CALiegfm9JK23-W2O7sfAFLs6cwYifF6Rb2O0VZ2mV+dCg=tV9A@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>, Silvia Pfeiffer <silviapfeiffer1@gmail.com>, "piranna@gmail.com" <piranna@gmail.com>, "public-webrtc@w3.org" <public-webrtc@w3.org>
2014-02-19 8:37 GMT+01:00 Christer Holmberg <christer.holmberg@ericsson.com>
:

> If the user has enough power to specify how the SDP should look like (e.g.
> value of setup attribute) when calling createOffer(), there should be no
> need to modify the generated SDP, should there?


Exactly. The problem with the current spec is that:

- It forces the developer to retrieve a SDP from the PeerConnection (via
createOffer) and then to pass it back again to the same PeerConnection (via
setLocalDescription).

- At the same time it "recommends" not to mangle the SDP between those
steps.

- But it allows it, this is, the developer is able (by spec) to mangle it.

- But... the spec does not clearly define what he can modify, and depending
on the implementation that may work or not.


-- 
Iñaki Baz Castillo
<ibc@aliax.net
Received on Wednesday, 19 February 2014 08:54:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:38 UTC