Re: Panic between createOffer() and setLocalDescription()

2014-02-20 18:07 GMT+01:00 Tim Panton new <thp@westhawk.co.uk>:

> Except that WebRTC 101 - the example apprtc app does munge the SDP before
> calling
> setLocal.
>
> function setLocalAndSendMessage(sessionDescription) {
>   sessionDescription.sdp =
> maybePreferAudioReceiveCodec(sessionDescription.sdp);
>   pc.setLocalDescription(sessionDescription,
>        onSetSessionDescriptionSuccess, onSetSessionDescriptionError);
>   sendMessage(sessionDescription);
> }
>
> So even in the simplest cases you end up needing to intercept.
>

Exactly, and that is sad, so sad.


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

Received on Thursday, 20 February 2014 17:24:56 UTC