Google Cast remote playback — device detection, source compatibility, session management, and swapping playback to/from the remote device. Cast SDK lazy loading. Button auto-shows when a Chromecast is detected (Chromium browsers).
Open questions
- Unified remote playback abstraction with AirPlay, or separate features?
- Session state management and storage
- Exclusive with PiP / fullscreen?
- Text track passthrough to receiver
- How to load the Cast SDK (lazy, script tag, etc.)
- Custom receiver app ID support
disableRemotePlayback now or later?
DRM over Cast is out of scope for now.
Prior art
Sub-issues
Google Cast remote playback — device detection, source compatibility, session management, and swapping playback to/from the remote device. Cast SDK lazy loading. Button auto-shows when a Chromecast is detected (Chromium browsers).
Open questions
disableRemotePlaybacknow or later?Prior art
<media-cast-button>Sub-issues
CastButtoncomponent across core, HTML, and React