videojs-contrib-eme icon indicating copy to clipboard operation
videojs-contrib-eme copied to clipboard

How to decrypt a HLS DRM media file.

Open Sujin1135 opened this issue 4 years ago • 0 comments

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

Sujin1135 avatar Jul 20 '20 08:07 Sujin1135