videojs / videojs-contrib-eme

Supports Encrypted Media Extensions for playback of encrypted content in Video.js
Other
203 stars 72 forks source link

Fairplay DRM issue on Safari: "KeySession error: code 6, systemCode 4294955460" #213

Open ravi-kiran-ash opened 5 months ago

ravi-kiran-ash commented 5 months ago

Using Fairplay certificate response with format .cer works with config given in Screenshot #1 But, fails with Fairplay certificate response with format .pem with same config. So, tried different config as well shown in Screenshot #2 and is giving the error (Screenshot #3)

Can someone look into the config and help me understand if I need to update the config to support fairplay certificate of .pem response?

Screenshot #1 (Works):

Screenshot 2024-04-23 at 11 07 02 AM

Screenshot #2 (Fails - Tried with same code config as above but didn't work. So, changed config to the following):

Screenshot 2024-04-23 at 11 16 20 AM

Screenshot #3 (Error):

Pasted Graphic 2