Re: [mediacapture-record] Not clear if onpause/onresume should not be fired if it is already paused/recording

The spec as written clearly says that calling "pause(); pause()" must queue two tasks, both of which fire the "paused" event.

My immediate thought is that this seems silly. Should we change it?
(If we change it, the check for the paused state must be inside the queued task (otherwise race conditions could occur), so we can't let pause() return an error.)

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

Received on Tuesday, 9 October 2018 08:24:54 UTC