https://kotlinlang.org logo
m

Mahmoo

09/11/2023, 9:58 PM
Hey guys Context - I am building music player application with media3 and things are going pretty well. But there is an issue with notification. Problem - The seekbar doesn't show in the notification although I can rewind, fast forward, play and pause the media My approach - I am using MediaSessionService which contains my player and media session. And to show the notification I am using PlayerNotificationManager to build my notification(using it's builder). I have looked through the docs, samples and github issues but can't find a way to show the seekbar. I have searched on SO but no results on why it's happening. Normally using a mediasession with the player notification manager must hook the notification to the media sessions, right? But it's not the case here
s

Swapnil Musale

09/12/2023, 4:53 AM
Please watch this if you don't have time constraints.

https://youtu.be/XrcmjIW45u8?si=SFezLeYP3JuSRk_O

m

Mahmoo

09/13/2023, 4:04 AM
Thanks a lot mate... I was just missing a legacy support dependency due to which I was unable to set media session token Great share 🙌
🙌 1
I am getting another issue regarding media3, in which channel should I ask it? @Swapnil Musale
s

Swapnil Musale

09/16/2023, 2:42 PM
There is no specific channel for Android related queries Share your error here will try from my side