Summary: enable by default changeType method on MediaSource’s Source Buffer, allowing to change content type (codecs and/or container) on the fly… The method has been availably since 61 behind the preference media.mediasource.experimental.enabled
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1481166 <https://bugzilla.mozilla.org/show_bug.cgi?id=1481166> Detail: Up to now, when using Media Source Extension, you had to create a source buffer of a specific type using the MediaSource.addSourceBuffer method, providing the mime type describing the container and optionally the codec. You could then no longer change the container nor the codec. Comes changeType , it allows to mix different codec within the same video element. One particular use case would be to use different codecs according to the selected resolution. Like using AV1 for the very low bitrate due to the exceptional performance of AV1 there, and switch later to VP9 or H264 as they are a bit more friendly resource-wise. JY
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform