Re: [mediacapture-record] Add method MediaRecorder.restart considering this use case. (#178)

Making `stop();` then `start();` gapless is not supported by the spec, but there is nothing preventing us from making it supported if we want. I have been [toying](https://github.com/w3c/mediacapture-record/pull/190#discussion_r330080372) with the idea of using this method to support changing the track set mid-recording, but haven't gotten around to testing how far away we (Firefox) are implementation-wise.

Making this behavior mandatory would be a fair bit of spec work though. I don't have time to work on this myself, but if someone were to commit to contributing a PR and driving it home (i.e., resolve all feedback and get it merged) it might get some traction.

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

Received on Monday, 16 December 2019 15:10:10 UTC