BunnyMediaItemConverter
Converts Media3 MediaItems to the Cast MediaInfo shape the Bunny receiver expects. media3's DefaultMediaItemConverter serializes a Media3-specific JSON payload the Bunny receiver ignores; this converter instead emits the documented Bunny sender contract:
the signed HLS URL as contentId/contentUrl,
video title + poster as standard MediaMetadata (shown on the TV),
sideloaded VTT caption tracks (same VTTs the local player uses),
customData carrying Widevine DRM config + embed theming (castCustomData, refreshed by the player on every playVideo).
Properties
Set by the player when a video loads; sent with every LoadRequest.
Whether the current playback is a live stream — the receiver needs STREAM_TYPE_LIVE to show live UI instead of a broken VOD seek bar. Set by the player alongside the CMCD stream type.