androidx / androidx/media

Metadata update behaviour on bluetooth devices

Open
#430 5 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Jun 1, 2023.

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

Description

I've experienced different behaviour regarding metadata updates on different bluetooth devices.

Bluetooth devices that show metadata information to the user, seem to handle metadata updates differently. The metadata updates we want to show are plain instream icecast metadata.

When testing metadata updates in a car console, it seems like the metadata would only update when the player state changes as well. But on the other hand, when connecting to a fairly new tv, the metadata gets updated as expected.

With other player implementations using the https://github.com/google/ExoPlayer calling MediaSession::setMetadata would result in immediate updates, regardless which type of BT device is connected.

Is there a way to achieve consistent updates on every device? Might this be an issue with our implementation?

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.