Open rajeshdish opened 1 year ago
Just want to chime in and say that I see this with other players. I submitted an issue with Chrome a long time ago but we didn't get a fix out of it.
Just want to chime in and say that I see this with other players.
Thanks @johnBartos!
There are two other open issues related to this one. Support for Clear->Encrypted transitions are being tracked in #4230.
My understanding is that we need fake encryption on clear init segments before or once the CDM session is started like https://github.com/shaka-project/shaka-player/blob/8649e7ebbdb173d70741ec5e7400bbcbf2019710/lib/media/content_workarounds.js#L36. Maybe that is only the case for xbox and tizen https://github.com/shaka-project/shaka-player/blob/main/lib/util/platform.js#L465-L467 ?
I haven't found a workaround using setMediaKeys.
A common mistake in HLS we see is the lack of KEY with METHOD=NONE on DISCONTINUITY or at the start of clear content (before clear init segment).
What version of Hls.js are you using?
1.4.10
What browser (including version) are you using?
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
What OS (including version) are you using?
Windows 11, MAC, LG all are same
Test stream
https://bytedead.xyz/demo/demo/
Configuration
Additional player setup steps
Test Stream is having cors issue please use this plugin to fix it https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf
Checklist
Steps to reproduce
Expected behaviour
payback should continue after ad
What actually happened?
but in the demo it stops and throws the error for ad-to-content
We also provided content to ad stream here playback continue to work. (on same demo link)
issue is only during ad to content transition.
Console output
Chrome media internals output
Logs: