Re: [mediacapture-record] Should stop(), pause(), resume() change state synchronously?

> currentTime will change at least once more

@foolip In Chrome yes, in Firefox no.  - https://jsfiddle.net/jib1/r79L3j05/

I don't know the playback specs well enough to comment on which is correct, but I do know neither browser allows `currentTime` to observably advance during the current run of the event loop, so the time that JS sees seems well under browser control here.

As to whether media recorder might have similar situations, dunno. @SingingTree may know our implementation better here, but last I checked we did more things here synchronously than I expected, which is a different problem, but we may not have the problem you mentioned.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/123#issuecomment-325080486 using your GitHub account

Received on Saturday, 26 August 2017 03:38:01 UTC