Skip to content

Chromecast IDLE when playing http stream

I am using VLC on Ubuntu 19.10 and casting http streams to my TV over Chromecast Ultra.

Problem is that after some random time (sometimes 1min/5min/Xmin) the casting stops. At the moment when casting stops the verbose mode always outputs: [00007fe6680010a0] stream_out_chromecast stream out debug: Player state: IDLE sessionId: 1

The message is comming from this line: https://code.videolan.org/videolan/vlc/-/blob/master/modules/stream_out/chromecast/chromecast_ctrl.cpp#L823

I tried also different http streams and there is always same problem and same output.

I am using this command line: vlc --sout="#chromecast" --sout-chromecast-ip=192.168.1.145 --verbose=2 http://ocko-live.ssl.cdn.cra.cz/channels/ocko_expres/playlist/cze/live_hq.m3u8

Hint for a possible solution: https://stackoverflow.com/questions/44621478/how-does-chromecast-determine-inactivity

I attached full verbose output.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information