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

Re: Panic between createOffer() and setLocalDescription()

From: <piranna@gmail.com>
Date: Wed, 19 Feb 2014 10:05:41 +0100
Message-ID: <CAKfGGh29OA6yqt6WYG8ZgtO4C18MJeMabDwxSN9tg-AYGbYpyA@mail.gmail.com>
To: Iņaki Baz Castillo <ibc@aliax.net>
Cc: public-webrtc <public-webrtc@w3.org>, Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>, Christer Holmberg <christer.holmberg@ericsson.com>, Silvia Pfeiffer <silviapfeiffer1@gmail.com>
> - 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
That's the thing I find most annoying, that it's the same PeerConnection
object. Wouldn't it be possible that when calling to createOffer() and
createAnswer() they call internally to setLocalDescription(), so developers
only need to call it explicitly if they need to modify the SDP string? This
will make easier the usage of vast mayority of use cases, and also it is a
backwards compatible modification...
Received on Wednesday, 19 February 2014 09:06:08 UTC

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