Stay organized with collections Save and categorize content based on your preferences.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eExplore working sample apps and codelabs to learn Google Cast app development.\u003c/p\u003e\n"],["\u003cp\u003eReference apps showcase best practices and compliance with the Google Cast Design Checklist.\u003c/p\u003e\n"],["\u003cp\u003eDiscover video and audio apps demonstrating diverse Cast functionalities.\u003c/p\u003e\n"],["\u003cp\u003eUtilize provided source code and codelabs for hands-on learning and app building.\u003c/p\u003e\n"],["\u003cp\u003eFind various sample apps for platforms including Android, iOS, Web, and Android TV.\u003c/p\u003e\n"]]],["Sample apps and codelabs provide working code examples and step-by-step instructions for Google Cast app development. Reference apps, like CastReceiver, CastAndroidTvReceiver, and CastVideos, adhere to Google Cast best practices. Video apps, such as CastHelloVideo-ios, demonstrate video casting. Audio apps, like Android-UniversalMusicPlayer, showcase media app best practices. Each entry includes platform, language, source code, and codelab links, offering resources for various development environments like Android, iOS, and Web.\n"],null,["Sample apps are examples of working code that you can browse, run,\nand learn from to get started developing your own Google Cast app.\n\n[Codelabs](../codelabs) provide a guided, hands-on coding experience\nwith step-by-step instructions that take\nyou through the process of either building an app that uses certain features of\nthe Cast API or enabling an existing app to use the Cast API.\n\nReference apps\n\nThe reference apps listed here are those that comply with the\n[Google Cast Design Checklist](/cast/docs/design_checklist)\nand follow Google Cast development best practices. Use these apps\nas a starting point when developing your app for Google Cast.\n\nCastReceiver\n\n| Details ||\n|-----------------|------------------------------------------------------------------------------------|\n| **Platform** | Receiver, MPL |\n| **Languages** | JavaScript, HTML, CSS |\n| **Source Code** | [github.com/googlecast/CastReceiver](https://github.com/googlecast/CastReceiver) |\n| **Codelab** | [developers.google.com/cast/codelabs/cast-receiver/](/cast/codelabs/cast-receiver) |\n\nCastAndroidTvReceiver\n\n| Details ||\n|-----------------|----------------------------------------------------------------------------------------------------|\n| **Platform** | Android |\n| **Languages** | Android |\n| **Source Code** | [github.com/googlecast/CastAndroidTvReceiver](https://github.com/googlecast/CastAndroidTvReceiver) |\n| **Codelab** | [developers.google.com/cast/codelabs/cast-connect-atv/](/cast/codelabs/cast-connect-atv) |\n\nCastVideos-android\n\n| Details ||\n|-----------------|------------------------------------------------------------------------------------------------|\n| **Platform** | Android |\n| **Languages** | Android |\n| **Source Code** | [github.com/googlecast/CastVideos-android](https://github.com/googlecast/CastVideos-android) |\n| **Codelab** | [developers.google.com/cast/codelabs/cast-videos-android/](/cast/codelabs/cast-videos-android) |\n\nCastVideos-ios\n\n| Details ||\n|-----------------|----------------------------------------------------------------------------------------|\n| **Platform** | iOS |\n| **Languages** | Swift, Objective-C |\n| **Source Code** | [github.com/googlecast/CastVideos-ios](https://github.com/googlecast/CastVideos-ios) |\n| **Codelab** | [developers.google.com/cast/codelabs/cast-videos-ios/](/cast/codelabs/cast-videos-ios) |\n\nCastVideos-chrome\n\n| Details ||\n|-----------------|----------------------------------------------------------------------------------------------|\n| **Platform** | Web |\n| **Languages** | JavaScript, HTML, CSS |\n| **Source Code** | [github.com/googlecast/CastVideos-chrome](https://github.com/googlecast/CastVideos-chrome) |\n| **Codelab** | [developers.google.com/cast/codelabs/cast-videos-chrome/](/cast/codelabs/cast-videos-chrome) |\n\nVideo apps\n\nThe video apps listed here show how to cast videos from a sender using the CAF\nSender SDK. For simplicity, these apps are not fully compliant with the UX\nChecklist.\n\nCastHelloVideo-ios\n\n| Details ||\n|-----------------|----------------------------------------------------------------------------------------------|\n| **Platform** | iOS |\n| **Languages** | Objective-C, Swift |\n| **Source Code** | [github.com/googlecast/CastHelloVideo-ios](https://github.com/googlecast/CastHelloVideo-ios) |\n\nAudio apps\n\nThe audio apps listed here show best practices for building media apps.\n\nAndroid-UniversalMusicPlayer\n\nThis app works across Android devices including Auto and Wear, as well as Cast\ndevices.\n\n| Details ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------|\n| **Platform** | Android |\n| **Languages** | Kotlin |\n| **Source Code** | [github.com/googlesamples/android-UniversalMusicPlayer/](https://github.com/googlesamples/android-UniversalMusicPlayer/) |\n\n| **Note:** The Android Cast SDK also includes two Cast samples apps under Google Play services in extras."]]