Re: Transport change in MS Proposal

On 29 August 2012 12:35, Li Li <Li.NJ.Li@huawei.com> wrote:
> Martin,
>
> In the MS proposal [1], a JS application has the ability to change the transport for a RealtimeMediaStream object, when detecting the transport bandwidth is too low through JS callback.
> Since JS execution cannot be interrupted by callbacks, what happens if the callback is delayed by a long running JS block?

Javascript should not block in this way.  If your javascript does not
return control to the browser at least 60 times a second, people are
going to notice some performance degradation.  Even assuming that you
are operating slower than this, I'm not sure what you imagine would be
so time-sensitive as to require this sort of reaction time.

--Martin

Received on Wednesday, 29 August 2012 21:36:00 UTC