androidx / androidx/media

Media not Playing in Android Auto, plays OK when not connected to Android Auto

Open
#2,915 0 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Nov 26, 2025.

bug needs triage
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Version

Media3 main branch

More version details

Have a very strange problem, I have 1 specific audio stream, it plays perfectly in my app using Media3, no problems at all, nothing in the log cat to indicate any issues either.

As soon as I connect to Android Auto, this stream (and only this stream, nothing else), will stop playing after about a second, and my audio jumps to the next stream in the list of media items.

Even even connected to Android Auto, there are no error messages in LogCat that indicate any problem whatsoever, and no amount of debugging gets me any further.

To make it even more frustrating, the Android Auto Emulator doesn't exhibit this issue. It only has an issue on actual Android Auto head units.

Devices that reproduce the issue

Pixel 8 Pro
Pixel 10 Pro XL

Devices that do not reproduce the issue

None

Reproducible in the demo app?

Yes

Reproduction steps

Stream affected stream, observe if plays correctly.
Connect to Android Auto, play the same stream, playback aborts after about 2 seconds
Observe no errors in logs.

Expected result

Playback on Android Auto behaves the same as when not connected.

Actual result

Playback stream compatibility is different.

Media

https://punkirratia.net:8443/punk

Bug Report
  • You will email the zip file produced by adb bugreport to android-media-github@google.com after filing this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.