Re: Question about sync / async for createOffer and createAnswer

Cullen Jennings wrote:
> 2) is 100 ms too long for the JS execution to be blocked?

I think it is. The goal for our Snappy project 
(https://wiki.mozilla.org/Performance/Snappy) is never to block the main 
thread (where all JS execution happens, with the exception of Workers) 
for more than 50 ms.

> 3) does this look like an OK way to do the async version ?
>
> Whatever we do to createOffer, we will do the corresponding thing to
> createAnswer.

The API itself looks reasonable to me.

Received on Wednesday, 9 May 2012 15:57:16 UTC