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

M3u8 video fails on Chromecast Ultra when using Shaka but works when not using Shaka #7888

Open
casolorz opened this issue Jan 13, 2025 · 8 comments
Assignees
Labels
platform: Cast Issues affecting Cast devices type: bug Something isn't working correctly type: external An issue with an external dependency; not our issue; sometimes kept open for tracking
Milestone

Comments

@casolorz
Copy link

I have a video:

https://castvideotests.s3.us-east-1.amazonaws.com/shaka/anime/video.m3u8

This video works fine without Shaka on Chromecast Ultra but it does not work with Shaka.

It works fine with and without Shaka on CCwGTV using Google Cast.

I have made two sample receivers, 36F55B37 with Shaka and 11038870 without Shaka.

I have also made a sample Android app which is attached.
shakatsfailtest.zip

The Shaka error I see is:

[ 20.873s] [cast.framework.media.ShakaPlayer] category: 4
code: 4032
stack: Error: Shaka Error 4032
   at new T (https://ajax.googleapis.com/ajax/libs/shaka-player/4.9.2-caf2/shaka-player.compiled.js:86:311)
   at Ca.h (https://ajax.googleapis.com/ajax/libs/shaka-player/4.9.2-caf2/shaka-player.compiled.js:292:265)
   at Fa (https://ajax.googleapis.com/ajax/libs/shaka-player/4.9.2-caf2/shaka-player.compiled.js:21:299)
   at Ga.next (https://ajax.googleapis.com/ajax/libs/shaka-player/4.9.2-caf2/shaka-player.compiled.js:22:91)
   at b (https://ajax.googleapis.com/ajax/libs/shaka-player/4.9.2-caf2/shaka-player.compiled.js:22:330)
severity: CRITICAL
data: []
@casolorz casolorz added the type: bug Something isn't working correctly label Jan 13, 2025
@casolorz
Copy link
Author

@shaka-bot shaka-bot added this to the v4.13 milestone Jan 13, 2025
@avelad avelad added the platform: Cast Issues affecting Cast devices label Jan 15, 2025
@joeyparrish
Copy link
Member

Looking into it now.

@avelad
Copy link
Member

avelad commented Jan 17, 2025

@joeyparrish any update?

@avelad
Copy link
Member

avelad commented Jan 20, 2025

There seems to be a bug in Chromecast Ultra where it will refuse AVC High Profile even if the TV does support it. Replacing avc1.640033 with avc1.4D4028 managed to convince Chromecast to send AVC High Profile to the TV anyway

@avelad avelad closed this as completed Jan 20, 2025
@avelad avelad added type: external An issue with an external dependency; not our issue; sometimes kept open for tracking and removed type: bug Something isn't working correctly labels Jan 20, 2025
@avelad avelad removed this from the v4.13 milestone Jan 20, 2025
@joeyparrish
Copy link
Member

Oh, that's really interesting. When I'm back next week, I would like to try translating that in the Chromecast polyfills. I believe I know how to detect those models.

@joeyparrish joeyparrish reopened this Jan 20, 2025
@joeyparrish joeyparrish added the type: bug Something isn't working correctly label Jan 20, 2025
@shaka-bot shaka-bot added this to the v4.13 milestone Jan 20, 2025
@avelad
Copy link
Member

avelad commented Jan 21, 2025

Oh, that's really interesting. When I'm back next week, I would like to try translating that in the Chromecast polyfills. I believe I know how to detect those models.

I have found the same error on Chromecast 1gen

@avelad
Copy link
Member

avelad commented Jan 21, 2025

Maybe you can use https://gist.github.com/bittu/282df7c97f078e707998b80cfee03fe8 to detect the Chromecast model

@avelad avelad modified the milestones: v4.13, v4.14 Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Cast Issues affecting Cast devices type: bug Something isn't working correctly type: external An issue with an external dependency; not our issue; sometimes kept open for tracking
Projects
None yet
Development

No branches or pull requests

5 participants