Google Cast API Reference

  • This documentation provides API references for building sender and receiver applications for Google Cast.

  • Sender applications, which manage user interaction, can be developed for Android, iOS, and web platforms.

  • Receiver applications, responsible for displaying content, are Chrome applications running on Google Cast devices and can be custom-built using the provided APIs.

  • Setup instructions and developer guides are available for all supported platforms and application types.

  • The Web Sender, Media Player Library, and Receiver utilize the Closure and lit-html libraries, under the Apache 2.0 and BSD 3-Clause licenses respectively.

This reference provides the following API documentation for send and receiver applications.

Sender application APIs

A sender application runs on the device the user is holding and manages the user's interaction with the content. For sender applications, Google Cast supports app development for the Android, iOS, and Cast-supported web platforms with the following documentation:

Receiver application APIs

A receiver application is a Chrome application that runs on the Google Cast receiver device connected to the display and manages the display of the content. Use the API to create a custom receiver application. The Media Player Library provides your application with a media player. The APIs are documented here:

Resources

See Install API Libraries for setup instructions for the above APIs.

See the following guides for more information about developing with these APIs:

Licenses

Web Sender, Media Player Library and Receiver use the Closure library, which is licensed under the Apache 2.0 License, and the lit-html library, which is licensed under the BSD 3-Clause License.