Google Cast

Developers Guide

The Google Cast SDK includes API libraries and sample application code to help you cast your applications to the big screen. These APIs are documented in the API references, and the sample code is discussed in the Sender Applications and Receiver Applications overviews.

Components

Here's what you need to build a Cast app.

  • A sender application, written for the Android, iOS, or Chrome platform which uses the following Cast APIs:
  • A receiver application that handles communication between the sender app and the receiver device. You have the following options:
    • The Default Media Receiver presented with the Google Cast branding and styling.
    • The Styled Media Receiver for which you can develop the styles and branding. See Styled Media Receiver.
    • A custom receiver, as described in Custom receiver that implements the Receiver API and handles custom messages from your sender app; it may also interface with the media player types provided through the Media Player Library.
    How you implement your receiver may depend upon which media types your application needs to support.

Get started

  1. First, get set up for development:
    1. Install your Chromecast device and run through the Chromecast Setup instructions.
    2. Run the Chromecast app on your sender device, following the prompts as directed.
    3. Under Privacy, check the box to Send this Chromecast's serial number when checking for updates.

      You must select this option in order to enable your receiver device for development.

  2. Review the User Experience Guidelines showing you how to implement a UI that is consistent with other Cast apps.

  3. Download the API libraries and sample apps.

  4. Register your application.

    You will receive an app ID to include with your API calls.

  5. Develop your app.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.