Codelab ของ Cast
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Codelab เป็นแอปตัวอย่างที่มีวิธีการแบบทีละขั้นตอนซึ่งจะช่วยแนะนําขั้นตอนการสร้างแอปที่ใช้ฟีเจอร์บางอย่างของ Cast SDK หรืออนุญาตให้แอปที่มีอยู่ใช้ Cast SDK
โปรดดูตัวอย่างแอปพลิเคชันด้วย
แอปของผู้ส่ง |
ผู้ส่ง Android
|
ใน Codelab นี้ คุณจะแก้ไขแอปวิดีโอ Android ที่มีอยู่เพื่อแคสต์เนื้อหาในอุปกรณ์ที่พร้อมใช้งาน Google Cast |
ระยะเวลา: 01:00 |
ผู้ส่ง iOS
|
ใน Codelab นี้ คุณจะแก้ไขแอปวิดีโอ iOS ที่มีอยู่เพื่อแคสต์เนื้อหาในอุปกรณ์ที่พร้อมใช้งาน Google Cast |
ระยะเวลา: 02:28 |
ผู้ส่งเว็บ
|
ใน Codelab นี้ คุณจะแก้ไขแอปวิดีโอบนเว็บที่มีอยู่เพื่อแคสต์เนื้อหาในอุปกรณ์ที่พร้อมใช้งาน Google Cast |
ระยะเวลา: 01:18 |
แอปสําหรับผู้รับ |
ตัวรับ Android TV
|
ใน Codelab นี้ คุณจะแก้ไขแอป Android TV ที่มีอยู่เพื่อรองรับการแคสต์และการสื่อสารจากแอปตัวส่งของ Cast ที่มีอยู่ |
ระยะเวลา: 01:37 |
ผู้รับเว็บ |
ใน Codelab นี้ คุณจะสร้างแอปผู้รับเว็บที่กําหนดเองเพื่อเล่นเนื้อหาบนอุปกรณ์ที่พร้อมใช้งาน Cast |
ระยะเวลา: 01:00 |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eCodelabs provide step-by-step instructions for building or enabling apps to use the Cast SDK.\u003c/p\u003e\n"],["\u003cp\u003eYou can find codelabs for sender apps on Android, iOS, and Web platforms to cast content to Google Cast devices.\u003c/p\u003e\n"],["\u003cp\u003eCodelabs are also available for receiver apps on Android TV and Web to receive and play casted content.\u003c/p\u003e\n"],["\u003cp\u003eAdditional codelabs cover specific Cast features like ad breaks, live streaming, and debugging.\u003c/p\u003e\n"]]],[],null,["# Cast Codelabs\n\nCodelabs are sample apps with step-by-step instructions that take you through\nthe process of either building an app that uses certain features of the Cast SDK\nor enabling an existing app to use the Cast SDK.\n\nAlso see [Sample applications](/cast/docs/sample_apps).\n\n| Sender Apps |||\n|------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|-----------------|\n| [Android Sender](/cast/codelabs/cast-videos-android) | In this codelab, you will modify an existing Android video app to cast content on a Google Cast-enabled device. | Duration: 01:00 |\n| [iOS Sender](/cast/codelabs/cast-videos-ios) | In this codelab, you will modify an existing iOS video app to cast content on a Google Cast-enabled device. | Duration: 02:28 |\n| [Web Sender](/cast/codelabs/cast-videos-chrome) | In this codelab, you will modify an existing web video app to cast content on a Google Cast-enabled device. | Duration: 01:18 |\n\n| Receiver Apps |||\n|--------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|-----------------|\n| [Android TV Receiver](/cast/codelabs/cast-connect-atv) | In this codelab, you will modify an existing Android TV app to support casting and communication from your existing Cast sender apps. | Duration: 01:37 |\n| [Web Receiver](/cast/codelabs/cast-receiver) | In this codelab, you will build a Custom Web Receiver app to play content on Cast-enabled devices. | Duration: 01:00 |\n\n| Cast Features |||\n|---------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|-----------------|\n| [Add Ad Breaks API Support to a Web Receiver](/cast/codelabs/cast-ads-receiver) | In this codelab, you will build a Custom Web Receiver application that uses the Cast Ad Breaks API. | Duration: 01:00 |\n| [Add Live API Support to a Web Receiver](/cast/codelabs/cast-live-receiver) | In this codelab, you will build a Custom Web Receiver application that uses the Cast Live API. | Duration: 00:30 |\n| [Debugging Cast Receiver Apps](/cast/codelabs/cast-debug-logger) | In this codelab, you will add the Cast Debug Logger to your existing Custom Web Receiver app. | Duration: 01:00 |"]]