googlecast / CastVideos-android

Reference Android Sender w/ Framework API: CastVideos-android application shows how to cast videos from an Android device that is fully compliant with the Cast Design Checklist.
Apache License 2.0
345 stars 182 forks source link

can't reproduce random m3u8 link Chromecast 3 gen #120

Closed jjuandiaz closed 2 years ago

jjuandiaz commented 2 years ago

when I send the m3u8 link to the Chromecast the tv show a black screen it only happened with random links

link for testing

1.- is reproducible 2.- cant reproduce

device android 9 device Chromecast 3 generation

logcat.txt proyect sample

image

https://i.stack.imgur.com/Eib6M.png

c0d3base commented 2 years ago

Looked into this and here's the errors we saw: natgeo: [cast.player.api.Host] error: cast.player.api.ErrorCode.PLAYBACK/110 (Failed to execute 'addSourceBuffer' on 'MediaSource': The type provided ('video/mp2t; codecs="avc1.64002A,mp4a.6B"') is unsupported.) espn: error: cast.player.api.ErrorCode.PLAYBACK/102

It seems like the codecs you're using aren't supported. Please refer to this doc for the list of supported media formats and it seems that your content encoding itself is not getting decoded properly.

You can find a description of Error Codes here.

That said, have you tried the Chrome Remote Debugger? What kind of errors do you get there? Also, are you using your own custom receiver or trying to do this with the default receiver?

vpunjabi commented 2 years ago

Please reopen if issue persists