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; https://github.com/web-platform-tests/wpt/pull/17416; https://github.com/web-platform-tests/wpt/pull/11618; see also 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.

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

Received on Sunday, 23 June 2019 01:54:45 UTC