media/libraries/cast/src
bachinger a0873e6f7d 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-11 13:29:06 +00:00
..
main Include mediaId when marshalling a MediaItem to JSON 2022-01-11 13:29:06 +00:00
test Make sure CastPlayer calls onIsPlaying if required 2022-01-05 12:14:58 +00:00