I have tested the Android Auto functionality and it seems to work fine. The only thing I cannot test and suspect that may not work is casting. Not sure how I would add the header there since CastPlayer cannot use a DataSource.Factory. In https://github.com/google/ExoPlayer/issues/4760 they claim that the receiver app is responsible for authentication. Not sure if this is implemented in jellyfin/jellyfin-chromecast though.
Changes
Updated SDK version and fixed build errors.
Also added the API authorization header to exoplayer since the access token is no longer passed via URL for Android Auto (see https://github.com/jellyfin/jellyfin-sdk-kotlin/pull/871).
I have tested the Android Auto functionality and it seems to work fine. The only thing I cannot test and suspect that may not work is casting. Not sure how I would add the header there since CastPlayer cannot use a DataSource.Factory. In https://github.com/google/ExoPlayer/issues/4760 they claim that the receiver app is responsible for authentication. Not sure if this is implemented in jellyfin/jellyfin-chromecast though.