AI-generated Key Takeaways
-
Sample apps provide working code examples to help you develop your own Google Cast app.
-
Codelabs offer guided, step-by-step instructions for building or enabling apps with the Cast API.
-
Reference apps comply with the Google Cast Design Checklist and follow best practices, serving as a starting point for development.
-
This page lists reference apps for Receiver, Android TV, Android, iOS, and Web platforms.
-
Additional sections provide video apps demonstrating CAF Sender SDK and audio apps showcasing best practices for media apps.
Sample apps are examples of working code that you can browse, run, and learn from to get started developing your own Google Cast app.
Codelabs provide a guided, hands-on coding experience with step-by-step instructions that take you through the process of either building an app that uses certain features of the Cast API or enabling an existing app to use the Cast API.
Reference apps
The reference apps listed here are those that comply with the Google Cast Design Checklist and follow Google Cast development best practices. Use these apps as a starting point when developing your app for Google Cast.
CastReceiver
Details | |
---|---|
Platform | Receiver, MPL |
Languages | JavaScript, HTML, CSS |
Source Code | github.com/googlecast/CastReceiver |
Codelab | developers.google.com/cast/codelabs/cast-receiver/ |
CastAndroidTvReceiver
Details | |
---|---|
Platform | Android |
Languages | Android |
Source Code | github.com/googlecast/CastAndroidTvReceiver |
Codelab | developers.google.com/cast/codelabs/cast-connect-atv/ |
CastVideos-android
Details | |
---|---|
Platform | Android |
Languages | Android |
Source Code | github.com/googlecast/CastVideos-android |
Codelab | developers.google.com/cast/codelabs/cast-videos-android/ |
CastVideos-ios
Details | |
---|---|
Platform | iOS |
Languages | Swift, Objective-C |
Source Code | github.com/googlecast/CastVideos-ios |
Codelab | developers.google.com/cast/codelabs/cast-videos-ios/ |
CastVideos-chrome
Details | |
---|---|
Platform | Web |
Languages | JavaScript, HTML, CSS |
Source Code | github.com/googlecast/CastVideos-chrome |
Codelab | developers.google.com/cast/codelabs/cast-videos-chrome/ |
Video apps
The video apps listed here show how to cast videos from a sender using the CAF Sender SDK. For simplicity, these apps are not fully compliant with the UX Checklist.
CastHelloVideo-ios
Details | |
---|---|
Platform | iOS |
Languages | Objective-C, Swift |
Source Code | github.com/googlecast/CastHelloVideo-ios |
Audio apps
The audio apps listed here show best practices for building media apps.
Android-UniversalMusicPlayer
This app works across Android devices including Auto and Wear, as well as Cast devices.
Details | |
---|---|
Platform | Android |
Languages | Kotlin |
Source Code | github.com/googlesamples/android-UniversalMusicPlayer/ |