Re: [mediacapture-record] MediaRecorder needs to define effect of adding / removing tracks in its input MediaStream (#4)

@Pehrsons https://github.com/w3c/mediacapture-record/issues/166. Technically concatenating recorded video is possible using `canvas.captureStream()` and `AudioContext()`. At Mozilla Firefox a stream from a  `MediaSource` can be captured. 

If more than one `HTMLMediaElement.captureStream()` is passed to `new MediaStream()` with appropriate flag(s) set, instead of encoding the data immediately into a file the raw video and audio data could be "stored" (temporarily) until all of the streams have ended, then the `webm` file could be created from the raw data. 

Else, if such a proposal would conflict with the original scope of `MediaRecorder` and/or `.captureStream()`, a new proposal could be "incubated" which addresses the use case of recording/concatenating multiple media into a single `webm` file, which optionally can be played independently; e.g. https://github.com/guest271314/OfflineMediaContext; and other similar functionality described at various repositories.

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

Received on Friday, 22 March 2019 20:10:34 UTC