On Thu, May 1, 2014 at 5:19 PM, Justin Uberti <notifications@github.com>wrote:

> In samples/web/content/peerconnection/js/main.js:
>
> >    // Since the 'remote' side has no media stream we need
> >    // to pass in the right constraints in order for it to
> >    // accept the incoming offer of audio and video.
> > -  pc2.createAnswer(gotDescription2, onCreateSessionDescriptionError,
> > -    sdpConstraints);
> > +  pc2.createAnswer(onCreateAnswerSuccess, onCreateSessionDescriptionError,
>
> yes - per spec, these function calls all need to be queued, so
> createAnswer won't run until setRD finishes.
>

Ooh, neat.  Didn't know about this.

> —
> Reply to this email directly or view it on GitHub<https://github.com/GoogleChrome/webrtc/pull/19/files#r12214703>
> .
>