W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2012

Re: Question about sync / async for createOffer and createAnswer

From: Timothy B. Terriberry <tterriberry@mozilla.com>
Date: Wed, 09 May 2012 08:56:41 -0700
Message-ID: <4FAA93B9.2050301@mozilla.com>
To: public-webrtc@w3.org
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:17:27 UTC