Start a new topic
Answered

How to play mpd file?

I'm using clearKeys encryption for encoding using mp4dash. Can you tell me how to use the viblast player to play mpd file using clearkey?


Best Answer

Hello,


You can check the documentation:

https://docs.viblast.com/player/drm-protection



Everything seems to be OK.

It is hard to help without a public available test stream and page.


I am doing this thing in localhost. I shared code with you.Help me slove it


Do you have a valid domain entered at Viblast Portal?

Even the license is invalid (you are not "allowed" to play your stream at the given domain), the playback should continue.



Got an error:

 Error(LicenseCheck.cc:131): [LicenseCheck] Invalid License. Showing watermark and disabling PDN.


My code :


 

<!doctype html>

<html>


<head>

<title>Vikey</title>


<meta charset="utf-8">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<script src="http://localhost/VIBLAST/viblast.js"></script>

</head>


<body>

<video id="dynamic-autoload" data-viblast-key="a02f8bbe-xxxx-xxxx14ef" autoplay></video>

<script>

viblast('#dynamic-autoload').setup({

stream: "http://localhost/mpd/c1/stream.mpd",

clearkey: {

"121a0fca0f1b475b8910297fa8e0a07e": "a0a1a2a3a4a5a6a7a8a9aaabacadaeaf"

}

});

</script>

</body>


</html>

Answer

Hello,


You can check the documentation:

https://docs.viblast.com/player/drm-protection


Login to post a comment