Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Managed MediaSource #4202

Closed
dsilhavy opened this issue Jun 6, 2023 · 6 comments
Closed

Support for Managed MediaSource #4202

dsilhavy opened this issue Jun 6, 2023 · 6 comments
Assignees
Milestone

Comments

@dsilhavy
Copy link
Collaborator

dsilhavy commented Jun 6, 2023

Is your feature request related to a problem? Please describe.
Apple added support for the managed MediaSource on iOS & iPadOS 17

Investigate what needs to be done to support this, see also

@dsilhavy dsilhavy added this to the 5.0.0 milestone Jun 6, 2023
@dsilhavy
Copy link
Collaborator Author

dsilhavy commented Jun 9, 2023

Implementing a bit into a black hole here at this point, but added a branch that we can use as starting point. To be discussed during F2F

Files

We should probably try a simple example like this one first: https://reference.dashif.org/dash.js/managed-media-source/samples/getting-started/auto-load-single-video.html

Changes

  • Use ManagedMediaSource if available
  • Listen to startstreaming and endstreaming to stop/start scheduling of requests according to the respective event
  • Add endpoint to change disableRemotePlayback attribute on the video element

@JuanMorenoS
Copy link

Hi @dsilhavy,
Firstly, thank you for your work; it's outstanding! I've attempted to run this on my iPhone (iOS 17 public beta 6) with the MMS feature flag enabled, but it doesn't seem to be functioning. It does appear to work on Safari Tech Preview, though I'm uncertain if it's utilizing MMS or MSE. A log would be incredibly helpful in this case!

@dsilhavy
Copy link
Collaborator Author

Thx @JuanMorenoS . I added a log output and also fixed a bug in the selection process here: https://github.com/Dash-Industry-Forum/dash.js/tree/feature/managedMediaSource

@dsilhavy
Copy link
Collaborator Author

dsilhavy commented Nov 1, 2023

@jyavenard
Copy link

Hi @dsilhavy, Firstly, thank you for your work; it's outstanding! I've attempted to run this on my iPhone (iOS 17 public beta 6) with the MMS feature flag enabled, but it doesn't seem to be functioning. It does appear to work on Safari Tech Preview, though I'm uncertain if it's utilizing MMS or MSE. A log would be incredibly helpful in this case!

It should be fixed in iOS 17.1, if not let me know.

@dsilhavy dsilhavy modified the milestones: 5.0.0, 4.7.3 Nov 16, 2023
@dsilhavy dsilhavy self-assigned this Nov 16, 2023
@dsilhavy
Copy link
Collaborator Author

Added support for playback via Managed Media Source in #4319. Basic playback was tested successfully on an iPhone 15 with iOS version 17.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants