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

Re: Panic between createOffer() and setLocalDescription()

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Thu, 20 Feb 2014 18:24:08 +0100
Message-ID: <CALiegf=D2ztSbTO2ju7_F-r46=ZuZp83sf00RtdWerpSmnn6Ug@mail.gmail.com>
To: Tim Panton new <thp@westhawk.co.uk>
Cc: Jesús Leganés Combarro <piranna@gmail.com>, Harald Alvestrand <harald@alvestrand.no>, public-webrtc <public-webrtc@w3.org>
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

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