Open kevinoid opened 6 years ago
Note that there is a StackOverflow question about MediaRecorder type support which may provide a starting point for data collection.
Available via MDN: https://caniuse.com/mdn-api_mediarecorder_istypesupported
(Not to be confused with the same property but for MediaSource https://caniuse.com/mdn-api_mediasource_istypesupported)
Thanks @Schweinepriester. However, I don't see a list of supported types/codecs on the page you linked. Could you clarify?
Looking at https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/isTypeSupported it seems to me MediaRecorder.isTypeSupported
is agnostic of types/codes or rather universal, so you can check anything with it, right?
So for the individual types/codecs we'd have to check the formats, e.g.
Ah, you are correct,
data for which formats are supported for recording via the MediaRecorder API and with which media type parameters
is still missing.
Although there is already data for the MediaRecorder API and for playable media formats (e.g. HEVC, MPEG4, Opus, etc.), it would be very useful to add data for which formats are supported for recording via the MediaRecorder API and with which media type parameters. This data can be queried using
MediaRecorder.isTypeSupported
.I'm not very familiar with the caniuse data format. Would the best way to represent this be to create a separate JSON data file for each media type string? Is there another way to represent the data more compactly (especially for formats like
video/webm
where VP8 likely always supported when VP9 is, etc.)?Thanks, Kevin