futo-org / grayjay-android

Read-only mirror of Grayjay repo for issue tracking
https://gitlab.futo.org/videostreaming/grayjay
Other
421 stars 35 forks source link

Use Android media session when playing media #914

Open TFackler opened 3 weeks ago

TFackler commented 3 weeks ago

Hi there,

I am one of the devs over at Niagara Launcher. We have a built-in media widget that shows media controls for currently playing media. Sadly, grayjay is not recognized and thus, is not supported by our media widget.

We seem to have found the source and wanted to ask if you can support transport controls and implement proper media sessions. Android's media session to enable third-party apps to read and interact with the currently playing media. For more information please refer to this Medium article: Understanding MediaSessions 4/4.

If you have any other questions, please let me know.