Re: pc.localDescription sync/async issue

2014-12-12 21:28 GMT+01:00 Martin Thomson <martin.thomson@gmail.com>:
> Maybe it would be better if:
>
> "The localDescription attribute includes the last
> RTCSessionDescription that was successfully set using
> setLocalDescription(), which is modified to include any local
> candidates that have been generated by the ICE agent since then."
>
> As written, the text implies that you can do this:
>
>> pc.setLocalDescription(new RTCSessionDescription({ type: "turkey", sdp: "sandwich" }))

The point here is that such a call should just throw an error, which
would invalidate any assumption after it, Am I wrong?


-- 
Iñaki Baz Castillo
<ibc@aliax.net>

Received on Saturday, 13 December 2014 00:34:24 UTC