videojs / http-streaming

HLS, DASH, and future HTTP streaming protocols library for video.js
https://videojs-http-streaming.netlify.app/
Other
2.53k stars 425 forks source link

Issue with Playing Multi-Period DASH Stream with Nagra DRM and Google Server-Side Ad Integration #1514

Open rushikeshbhojane20 opened 6 months ago

rushikeshbhojane20 commented 6 months ago

Description

Hi everyone,

I'm encountering an issue with playing a DASH stream that uses Nagra DRM and Google server-side ad integration. Here's the situation:

I can successfully play a single-period DASH DRM stream without any issues. Also the same stream is playing via shaka player demo.

However, when ads are integrated and the stream becomes multi-period, it fails to play. I've attached the .mpd file and console logs for reference.

Versions "video.js": "8.5.3" "videojs-contrib-eme": "5.1.1"

I have attached the log file and manifest (as txt) below

manifest.txt drm-dash-ssai.log

Has anyone else experienced this problem or have any insights on how to resolve it? Any help would be greatly appreciated!

Thanks in advance.

Reduced test case

https://videojs-http-streaming.netlify.app/?debug=false&autoplay=false&muted=false&fluid=false&minified=false&sync-workers=false&liveui=true&llhls=true&url=https%3A%2F%2Flivecf.fancodedev.com%2Flinear%2Fdash%2Fpb%2Fevent%2FIXNT0cwiQWmEjnMcT1JpqQ%2Fstream%2F4de76a6f-8d13-4e5e-8de4-b07d7680593d%3ATPE2%2Fmanifest.mpd&type=application%2Fdash%2Bxml&keysystems=%7B%0A%20%20%22com.widevine.alpha%22%3A%20%7B%0A%20%20%20%20%22licenseUri%22%3A%20%22https%3A%2F%2Fgen12na8.anycast.nagra.com%2FGEN12NA8%2Fwvls%2Fcontentlicenseservice%2Fv1%2Flicenses%22%2C%0A%20%20%20%20%22licenseHeaders%22%3A%20%7B%0A%20%20%20%20%20%20%22nv-authorizations%22%3A%20%22eyJraWQiOiI0Mzk3NTciLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2ZXIiOiIxLjAiLCJ0eXAiOiJDb250ZW50QXV0aFoiLCJleHAiOjE3MTU5NDM4MjUsImNvbnRlbnRSaWdodHMiOlt7ImNvbnRlbnRJZCI6ImE2MTBkNmZmODcwN2MyOTBlY2QwYTg5MTI1ZDNjYTNkIiwidXNhZ2VSdWxlc1Byb2ZpbGVJZCI6IlRlc3QifV19.4lPfRX4hS9mZEsa1h6tjm2ii7d_3HVAY2_UJzqh-g5Q%22%2C%0A%20%20%20%20%20%20%22application-type%22%3A%20%22octet-stream%22%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D&buffer-water=false&exact-manifest-timings=false&pixel-diff-selector=false&network-info=false&dts-offset=false&override-native=true&preload=auto&mirror-source=true&forced-subtitles=false

Steps to reproduce

  1. Get License and Manifest Url
  2. generate player options with keySystems
  3. Pass the options to the player and try to play video on google chrome

Errors

No response

What version of Video.js are you using?

8.5.3

Video.js plugins used.

videojs-contrib-eme (5.3.0)

What browser(s) including version(s) does this occur with?

Google Chrome 124.0.6367.202 (Official Build) (arm64)

What OS(es) and version(s) does this occur with?

Mac OS - 14.2.1 (23C71)

welcome[bot] commented 6 months ago

πŸ‘‹ Thanks for opening your first issue here! πŸ‘‹

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

welcome[bot] commented 6 months ago

πŸ‘‹ Thanks for opening your first issue here! πŸ‘‹

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.