Re: Panic between createOffer() and setLocalDescription()

2014-02-19 8:37 GMT+01:00 Christer Holmberg <>

> 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

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

- 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

Received on Wednesday, 19 February 2014 08:54:17 UTC