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

Googlecast not working with AES 128 encryption without IV #42

Open
novusbd opened this issue May 16, 2023 · 0 comments
Open

Googlecast not working with AES 128 encryption without IV #42

novusbd opened this issue May 16, 2023 · 0 comments

Comments

@novusbd
Copy link

novusbd commented May 16, 2023

I used this sample sender and Default Media Receiver to play an HLS stream. It's showing only the blue Chromecast icon instead of playing the video on TV. The stream is encrypted with aes-128 without an IV. I have noticed if I remove the encryption it works fine.
The encrypted file works fine on web players such as video.js.
My m3u8 is using #EXT-X-VERSION:1
Is Googlecast compatible with AES-128 encryption without an IV? Since video.js and other web player can play the encrypted stream, I assume there is no issue with the encrypted stream itself. The receiver and key delivery URL are both hosted on HTTPS.
This is what the server manifest looks like for each stream variant:

#EXTM3U
#EXT-X-VERSION:1
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:8
#EXT-X-KEY:METHOD=AES-128,URI="https://www.keyserver.com/HLSkey.ashx"
#EXTINF:8, no desc
VideoFile-audio%3D96000-video%3D1395000-1.ts
#EXTINF:8, no desc
VideoFile-audio%3D96000-video%3D1395000-2.ts

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