If I try to cast a FLAC 16bit file to a GoogleTV box (with Android 11) never works. With MP3 it’s fine.
This happens with tracks on my smartphone and on Jellyfin.
If i uninstall the Chromecast updates from the Mi Box S 2nd gen, it works but with the latest update (version 3.72.425634 from 19th July 2024) it always crashes if I try to play (only) FLAC files.
I also tried with the apps from Plex, Plexamp, Jellyfin, Emby, Synology DS Audio, and PowerAmp (local); always the exact same file/song to see if it was an issue with Chromecast built-in but all worked perfectly fine.
Thanks
Logs:
Upload description: • Kurt
Additional information:
Reproduction steps:
Press the Cast option and then start playing an MP3 file. All good. Then, I change to the next track, which is a FLAC file, the Cast crashes.
It happens also if I start with a FLAC file.
Provide logcat from that device to see if it’s the same crash (It will be).
This is something that needs to be reported to Google so they fix, I’m using their most recent code on both sides, and without a broken device to reproduce to eventually try to workaround this Google bug (Yes I know OMG the others don’t crash so it’s Symfonium).
I gave the “example” of the other apps not to point the finger at you and your app but because I thought it was important to try out other apps and to let you know.
But yes, if all the others 6 apps don’t have any issue casting FLAC files, it seems that is something with your app. Which is not a criticising because sh*t can happens with any app!
And I know it’s hard to understand but in this case this is not the app, The Chromecast crash.
Chromecast expose an API, Symfonium calls the API, Chromecast crash. An non broken Chromecast would return an error if there was a wrong API call not crash.
And since those API calls works fine on nearly all devices for all the other users tends to show that the API calls are correct.
The fact that other apps probably use deprecates Google code that maybe avoid the issue does not change how things works.
And you actually have a workaround with the older Chromecast version. Since with works better use it ?