-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom extras in MediaMetadataCompat not getting populated in "extras" field of MediaMetadata #756
Comments
The conversion from media/libraries/session/src/main/java/androidx/media3/session/MediaUtils.java Lines 435 to 436 in c16accb
It uses known keys in Can you provide a bit of context about what info you need to propagate across? Is it keys that are defined on |
@icbaker Yes, it is the keys that are defined in Standard keys were used to populate most of the values in Please find the sample code snippet below
We are expecting "radio_station_frequency_in_hertz" to be part of the Migrating the service code to use media3 APIs is beyond our control, so it will be better if such custom fields were also included as part of Why can't the entire bundle of |
Hi @Sachin-Radhakrishnan, I'm working on a solution to this. |
The fix was submitted to the dev branch: 84022ea |
I am trying to migrate one of my applications to media3 with the service components still using legacy implementation (old media libs)
Inside the service components, some custom keys are getting added into the MediaMetadataCompat, but it is not getting populated in the "extras" field of MediaMetadata (extra is coming as null). Why is it so ?
I am using 1.2.0-beta01 version of media3-session library.
The text was updated successfully, but these errors were encountered: