Re: [mediacapture-record] What is the "important"difference between start/stop and pause/resume methods? (#195)

I am sorry for not providing you with an answer earlier. My requirements are merely to be able to pause/resume recording while assembling a valid media container (e.g. a WebM file). To that end, I was not originally sure whether stopping and starting the recorder while continuing appending chunks to the same file would result in a valid container. My testing confirmed it does not -- the media recorder produces a header data when starting recording, and normally there is only one header in a WebM file, at as its first chunk. Pausing and resuming, in contrast, merely changes what frames are generated, I assume -- at least it does not invalidate the media container when continuing to flush chunks generated by the media recorder into it.

I hope this kind of explains why I created the issue. I consider it resolved, for my part, now. I'll wait with closing it, because I hope that whoever meets the same issue can draw a satisfactory conclusion here, so if I haven't explained myself, please do tell me.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 18 October 2020 13:17:23 UTC