media/extensions/cast/src
bachinger a8e44294ab Include mediaId when marshalling a MediaItem to JSON
When sending a MediaItem to a MediaSession with a Media3 MediaController important information is removed for privacy reason. To look up the fully populated MediaItem the mediaId is used as a key. Hence having the mediaId marhalled to the JSON representation that is sent to a Cast device enables app developers to use the same look up facilities.

#minor-release

PiperOrigin-RevId: 420022868
2022-01-07 16:35:12 +00:00
..
main Include mediaId when marshalling a MediaItem to JSON 2022-01-07 16:35:12 +00:00
test Make sure CastPlayer calls onIsPlaying if required 2022-01-04 14:00:44 +00:00