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

Re: Mangling a=extmap and a=mid before setLocalDescription

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Wed, 19 Jul 2017 08:41:12 -0400
To: public-webrtc@w3.org
Message-ID: <762cd067-59bd-131f-608c-a8a56dbc5bc1@mozilla.com>
On 7/19/17 8:12 AM, IƱaki Baz Castillo wrote:
> Once this is clear (thanks for the reference) I wonder why do we need
> the "createOffer" + "setLocalDescription" ceremony at all? I mean, if
> the SDP provided by createOffer() should not be changed in any way and
> setLocalDescription() should be called with it, why does it even
> exist? It provides nothing.


We don't need it. It's like that hoop on the back of your cable box (if 
you still have one).

However, it's not that much to write in modern JS:

     await pc.setLocalDescription(await pc.createOffer());

over e.g.

     await pc.setLocalDescription();

I think the two issues is we're close to 1.0 and how would one 
feature-detect the availability of the second one anyway?

I doubt anyone has the stomach for two new methods at this point.

.: Jan-Ivar :.
Received on Wednesday, 19 July 2017 13:28:08 UTC

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