Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chromecast SDK with m3u8 urls

I have setup the example webserver that comes with the SDK (https://github.com/googlecast/), and it works will the example media file they provide. When I try it with an example m3u8 file it fails with:

{"code":"session_error","description":"LOAD_FAILED","details":null}`

Both URLs load fine in Safari. Is this type of streaming media not supported? Is there a way to get a more detailed error message.

like image 851
Kendall Hopkins Avatar asked Feb 05 '14 10:02

Kendall Hopkins


1 Answers

The streaming media requires the Cast Media Player Library to be used. See the sample.

To get more debugging information, add ?Debug=true to your URL in the developers console, as well as your device. Then using Chrome Remote Debugging, connect to your Chromecast using the URL IP of Chromecast:9222 look at the console.

like image 119
Les Vogel - Google DevRel Avatar answered Nov 01 '22 04:11

Les Vogel - Google DevRel