با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
برنامههای نمونه نمونههایی از کدهای کاربردی هستند که میتوانید برای شروع توسعه برنامه Google Cast خودتان، مرور، اجرا و از آنها بیاموزید.
Codelabs با دستورالعملهای گام به گام، تجربه کدنویسی هدایتشده و عملی را ارائه میکند که شما را در مراحل ساخت برنامهای که از ویژگیهای خاص Cast API استفاده میکند یا فعال کردن برنامه موجود برای استفاده از Cast API را راهنمایی میکند.
برنامه های مرجع
برنامههای مرجع فهرستشده در اینجا آنهایی هستند که با فهرست بررسی طراحی Google Cast مطابقت دارند و بهترین شیوههای توسعه Google Cast را دنبال میکنند. هنگام توسعه برنامه خود برای Google Cast از این برنامه ها به عنوان نقطه شروع استفاده کنید.
برنامههای ویدیویی فهرستشده در اینجا نحوه ارسال ویدیو از فرستنده را با استفاده از CAF Sender SDK نشان میدهند. برای سادگی، این برنامه ها به طور کامل با چک لیست UX مطابقت ندارند.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\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\n\nSample 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--------------\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\n### CastReceiver\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\n### CastAndroidTvReceiver\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\n### CastVideos-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\n### CastVideos-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\n### CastVideos-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----------\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\n### CastHelloVideo-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----------\n\nThe audio apps listed here show best practices for building media apps.\n\n### Android-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."]]