You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add experimental support for ManagedMediaSource (#1453)
Adds basic support for ManagedMediaSource. Must be enabled with the `useManagedMediaSource` VHS option.
Does not implement an alternate AirPlay source - this requires a more significant change, to add two source els. This means remote playback has to be disabled on the video el when using MMS.
Event listeners for advanced control are not yet implemented - `startstreaming`, `endstreaming`, `qualitychange`
@@ -349,6 +350,14 @@ var player = videojs('playerId', {
349
350
350
351
Since MSE playback may be desirable on all browsers with some native support other than Safari, `overrideNative: !videojs.browser.IS_SAFARI` could be used.
351
352
353
+
##### experimentalUseMMS
354
+
* Type: `boolean`
355
+
* can be used as an initialization option
356
+
357
+
Use ManagedMediaSource when available. If both ManagedMediaSource and MediaSource are present, ManagedMediaSource would be used. This will only be effective if `ovrerideNative` is true, because currently the only browsers that implement ManagedMediaSource also have native support. Safari on iPhone 17.1 has ManagedMediaSource, as does Safari 17 on desktop and iPad.
358
+
359
+
Currently, using this option will disable AirPlay.
<labelclass="form-check-label" for="use-mms">[EXPERIMENTAL] Use ManagedMediaSource if available. Use in combination with override native (reloads player)</label>
0 commit comments