androidx / androidx/media

Missing Notifications when following exoplayer migration guide.

Open
#197 4 comments 1 reaction 1 assignee View on GitHub

Nobody has claimed this yet.

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

Description

I have been attempting to convert my app from exoplayer to media3, and using the migration guide here:

https://developer.android.com/guide/topics/media/media3/getting-started/migration-guide

It's been going reasonably well (despite all the examples and documentation being in Kotlin, and my app and knowledge soundly in Java). I have my streaming radio player app compiling and working. It's really only the notifications I need to get working. Currently my app doesn't show show media notification,

The migration guide states:

The MediaLibraryService supports media notifications automatically and the PlayerNotificationManager can be removed when using a MediaLibraryService or MediaSessionService.

This is not the case for me, and I'm not entirely sure what's going on. As with Exoplayer, the service/notification/session interactions are all very confusing and constantly changing.

Here is my service.

https://pastebin.com/MiK9Misj

Any pointers or clarifications on the migration guide would be appreciated.

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.