-
Notifications
You must be signed in to change notification settings - Fork 72
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
No video playback for Fairplay protected content when using AirPlay #177
Comments
It turns out this issue was related to the way I had configured the video.js player. Apparently, to support AirPlay for encrypted content properly, the Once the native HLS implementation was used, I started seeing the AirPlay playback still did not work out of the box though, this was related to #159 though. |
I have added AirPlay support to my video player using @silvermine/videojs-airplay.
While this works well with non-protected videos, this fails when I am playing back protected videos (HLS with FairPlay).
Looking at shaka-project/shaka-player#2177 it seems like it's the responsibility of the CDM in the browser to supply the key that is needed by the AppleTV to play back the content, and in my case, videojs-contrib-eme is failing to provide it.
I am not sure where it is failing though. I have added some instrumentation to the event handlers for the
encrypted
event and thewebkitneedkey
event, and I don't see any of these events being triggered when switching playback to AirPlay.The text was updated successfully, but these errors were encountered: