
StyledPlayerControlView can't really be used on its own (like PlayerControlView was used here), so we instead use the same StyledPlayerView instance for both local and casted playback, replacing the content with a cast icon while casting. PiperOrigin-RevId: 410764338
Cast demo
This app demonstrates integration with Google Cast, as well as switching between Google Cast and local playback using ExoPlayer.
See the demos README for instructions on how to build and run this demo.