
The Cast Connect library allows your Android TV app to receive messages and broadcast media status as if it were a cast receiver application. Sender applications use this media status to display playback information in their UI.Ĭast Connect builds on top of this infrastructure, with your Android TV app acting as a receiver. These broadcasts contain the current state of the Cast session. When the state updates, for example if a new media item is loaded, a media status is broadcasted to all senders. Cast receiver applications are HTML 5 apps that run on Chromecast and Android TV devices.Īlmost all of the state in a Cast session is stored on the receiver application. Sender applications, like a mobile app or website such as, initiate and control the playback of a Cast receiver application. A typical Google Cast session consists of two components - a sender and a receiver application.

Google Cast allows users to cast content from a mobile device to a TV. This codelab will teach you how to modify an existing Android TV app to support casting and communication from your existing Cast sender apps.
