Re: [mediacapture-record] mimeType ambiguity: "video/webm;codecs=vp8" means? (#194)

A converse case is [bug 1881826](https://bugzilla.mozilla.org/show_bug.cgi?id=1881826#c7) where specifying `{ mimeType: "video/webm;codecs=vp8,opus" }` will still record video-only MediaStreams in Chrome, but not Firefox.

Compounding the foot-gun: whether a mediaStream from `navigator.mediaDevices.getDisplayMedia()` contains an audio track or not may depend varying factors, even user choice. Reporters found it _"counterintuitive to have to check the stream for an AudioTrack in order to provide the right MimeType string."_

Might it be less surprising if a MediaRecorder just ignores a codec it doesn't end up needing?

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


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

Received on Monday, 26 February 2024 15:51:34 UTC