[expo-video] Extract media notifications into a separate expo-media-session
module
#31809
Replies: 10 comments · 3 replies
-
Thanks for starting the conversation! cc @behenate @alanjhughes |
Beta Was this translation helpful? Give feedback.
-
I think it's a valid idea, although I think we could use this thread to also discuss other similar cases such as |
Beta Was this translation helpful? Give feedback.
-
Hi, is there any update about this? Expo 52 and Thanks for your work with expo. |
Beta Was this translation helpful? Give feedback.
-
@sebnun No significant updates for now, sorry! We are planning to plan this and make final decisions before the SDK 53 release |
Beta Was this translation helpful? Give feedback.
-
I am very excited for this functionality to be added to the I have searched this repo and I dont see any updates on this and was curious if this is still slated for the SDK 53 release? |
Beta Was this translation helpful? Give feedback.
-
Also hoping for updates on this :) Our app would benefit greatly from being able to use lock screen controls/media control with bluetooth devices! |
Beta Was this translation helpful? Give feedback.
-
Has it landed? |
Beta Was this translation helpful? Give feedback.
-
+1 |
Beta Was this translation helpful? Give feedback.
-
I really desperately need this. Is there any way that someone can give me some guidance on starting this? |
Beta Was this translation helpful? Give feedback.
-
Here I am also eagerly awaiting this update. A workaround using expo-audio also would be great. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
This RFC proposes to move media notifications (better known as the "Now Playing" notifications) from the
expo-video
package into a new, separate Expo module:expo-media-session
.Motivation
The primary motivation is to provide a unified and generic interface for managing media notifications, which can be utilized by both the
expo-audio
andexpo-video
modules. This approach aims to avoid code duplication and ensure consistency across all supported platforms (iOS, Android, and web).Currently, media notifications are only implemented for the
expo-video
package. However,expo-audio
users should also expect to have similar functionality. Implementing and maintaining this separately in both packages would lead to code duplication and potential inconsistencies.Why
expo-media-session
?The primary reason for naming the package
expo-media-session
, rather thanexpo-media-notifications
, is that it aligns with the browser API for managing media notifications, which is known as the Media Session API.Beta Was this translation helpful? Give feedback.
All reactions