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

How to decrypt a HLS DRM media file. #115

Open
Sujin1135 opened this issue Jul 20, 2020 · 0 comments
Open

How to decrypt a HLS DRM media file. #115

Sujin1135 opened this issue Jul 20, 2020 · 0 comments

Comments

@Sujin1135
Copy link

Sujin1135 commented Jul 20, 2020

I've tried to play a HLS DRM media file. but It's not playing..
On the other hand, Dash DRM media files can be played.
What is the problem? I need your help. thank you.

player.eme();

player.src({
    src: 'https://mz-cm-transcoding-output.s3.ap-northeast-2.amazonaws.com/minkyu/hls/drm.m3u8',
    type: 'application/x-mpegURL',
    keySystems: {
        'com.widevine.alpha': {
            url: licenseURL, // pallycon license url
            licenseHeaders: {
                'pallycon-customdata': customData // DRM_TYPE + SITE_ID + KEY
            }
        }
    }
});

I got an error message as below.

video error

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

1 participant