Chromecast mostly fails to stream

Issue description:

Casting musics to chromecast 4k mostly fails. Some plays some won’t. I tried to play 2 musics on debug session, first one played and second one failed. It displays the thumbnail for a second and then goes back to home screen on chromecast. Both devices are on wifi 6 and very close to the AP

Logs:

Upload description: ggnoredo

Additional information:

 

 

Reproduction steps:

 

 

Media provider:

Subsonic

Screenshots:

     

The first one is played from Symfonium offline cache, the second directly from your server.

You need to be sure that Chromecast can access your server, else you can enable proxy mode in Symfonium renderer settings.

Server is on localhost and it can reach it, proxy mode didn’t fix the issue. I tried to offline cache second music but still didn’t play it. May it cause because of bitrates? first one is flac, 48khz second one flac 24bit/92khz 3.5Mbit

From the docs :

  • FLAC (up to 96kHz/24-bit)

So if you missed a 1 and it’s 192 then yes.

Subsonic API does not have the necessary transcoding API for now to handle only sample rate changing, it’s on the TODO to add this to OpenSubsonic.