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

AirPlay fails for FairPlay protected content #42

Closed
cfra opened this issue Oct 13, 2022 · 2 comments
Closed

AirPlay fails for FairPlay protected content #42

cfra opened this issue Oct 13, 2022 · 2 comments

Comments

@cfra
Copy link

cfra commented Oct 13, 2022

While videojs-airplay works fine for unprotected content - great work on that - it fails for me when I am trying to send FairPlay protected content that is being played back by videojs-contrib-eme.

In this case, audio starts playing back on the AppleTV I am sending to, but video is still being shown only on the source device.

Not sure whose responsibility this is as the documentation on the inner workings of AirPlay is quite sparse.

@yokuze
Copy link
Contributor

yokuze commented Oct 14, 2022

Hi @cfra. This plugin is basically a simple button that calls the browser's native webkitShowPlaybackTargetPicker method to open the AirPlay menu. The rest of the AirPlay process is handled natively by the browser and target device, so it's very unlikely the issue you're seeing is caused by @silvermine/videojs-airplay.

documentation on the inner workings of AirPlay is quite sparse.

I agree with you there!

If you find that the issue is somehow caused by this plugin and you can provide a MCVE that demonstrates it, feel free to comment here and we'll reopen the issue. Thanks.

@yokuze yokuze closed this as completed Oct 14, 2022
@cfra
Copy link
Author

cfra commented Oct 14, 2022

I found the reason by now: Using AirPlay requires the usage of Safari's native HLS streaming implementation. If overrideNative is set to true, it will fail in weird ways.

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

No branches or pull requests

2 participants