Closed mister-ben closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
88d6e10
) 87.54% compared to head (c24d4a3
) 87.60%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Adds, optionally, a check for codec support by
ManagedMediaSource
inbrowserSupportsCodec()
.VHS will not register itself as a source handler unless this returns true. Currently this is a test against
MediaSource
only. The new optional check allows this to work on new iOS on iPhones, which supportsManagedMediaSource
but notMediaSource
. The check is optional so that VHS would be able to choose whether to check for support, so playback withManagedMediaSource
can be made optional there, and this also retains backwards compatibility.