Re: [mediacapture-record] Clarification needed for mime type handling (#170)

> @Pehrsons
> 
> > A passed-in audio codec is locked to be used for all audio tracks
> 
> If a change is to be made would suggest considering the path that `MediaSource` relatively recently specified at `changeType()` (https://rawgit.com/wicg/media-source/codec-switching/index.html; https://googlechrome.github.io/samples/media/sourcebuffer-changetype.html; [web-platform-tests/wpt#17416](https://github.com/web-platform-tests/wpt/pull/17416); [web-platform-tests/wpt#11618](https://github.com/web-platform-tests/wpt/pull/11618); see also [w3c/media-source#155](https://github.com/w3c/media-source/issues/155)).
> 
> Given that multiple input video and audio tracks can ultimately be recorded by a single `MediaRecorder` instance, the `MediaRecorder` instance should have the ability to change codec type during the recording, for example, from `video/x-matroska;codecs=avc1` to `video/webm;codecs=vp9`, etc.

If the spec is ever changed so that a single recording session can issue more than one self-contained file, then this sounds reasonable. For now, this is out of scope.

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

Received on Monday, 24 June 2019 13:41:37 UTC