Get Started

The Google Cast SDK includes API libraries and sample application code to help
your applications go big. These APIs are documented in the API
references, and the sample code is discussed in the
Android, iOS, and
Chrome Sender and the
Receiver app guides.

How you implement your receiver may depend upon which media types
your application needs to support.

In accordance with the Google Cast SDK Additional Developer Terms
of Service, a Cast media application must use the Media
Playback Messages
defined for the SDK to control media playback on the receiver. Doing so provides
the media app with a consistent user experience across platforms and it ensures
that a Cast application will support new and future use cases. These structures
also support custom data, where appropriate, and an application may define its
own messages for commands not supported by the SDK.

Install API libraries

The Google Cast SDK and API libraries support the development of Android, iOS,
and Chrome sender applications, and the development of receiver applications in
JavaScript - written for the Chrome browser.

iOS Sender API library

Note: If you manually add the static framework to your project, you must
install the Protobuf library dependency using the instructions found on the
Protobuf GitHub repo.
This is not necessary when using the dynamic framework.

Libraries without guest mode have been provided for situations
where your app does not require the feature or you do not wish to require Bluetooth® permissions,
which have been introduced in iOS 13. Please see the
iOS 13 Changes document for more information.

Key Point: Starting with version 4.3.1, Cocoapods uses static
libraries to avoid duplicate symbol warnings caused by a shared Protobuf library dependency when
using the Firebase and Cast SDKs together. Although this change will result in a larger download,
the final app size will not increase.

If the size difference is a concern for your situation, download the dynamic library to get a size
similar to pre-4.3.1 versions of the Cocoapod library.