ภาพรวมของ Google Meet SDK และ API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
SDK และ API ของ Google Meet ช่วยให้นักพัฒนาแอปโต้ตอบกับ Meet ได้ คุณสามารถผสานรวม Meet กับผลิตภัณฑ์ของคุณแบบเป็นโปรแกรมหรือใช้ผลิตภัณฑ์ใน Meet ได้
Meet SDK และ API
การใช้โซลูชันและผสานรวมกับ Google Meet ทำได้หลายวิธีดังนี้
SDK ของส่วนเสริม Google Meet สำหรับเว็บ: ฝังแอปของคุณลงใน Meet เป็นส่วนเสริมที่ผู้ใช้สามารถค้นพบ แชร์ และทำงานร่วมกันในแอปได้โดยไม่ต้องออกจาก Meet นอกจากนี้ คุณยังซิงค์เนื้อหาแบบเรียลไทม์และมอบการควบคุมที่แชร์ให้ผู้ใช้ใช้จากแอปของคุณได้ด้วย
Google Meet REST API: สร้างและจัดการการประชุมภายในแอป รวมถึงดึงข้อมูลจากการประชุม
Google Meet Media API (เวอร์ชันตัวอย่างสำหรับนักพัฒนาซอฟต์แวร์):
เข้าถึงสตรีมเสียงและวิดีโอดิบระหว่างการประชุมใน Meet
แผนภาพต่อไปนี้จะช่วยคุณเลือกปลายทางที่ถูกต้องสำหรับปัญหาที่พยายามจะแก้ไข

SDK กับ API แตกต่างกันอย่างไร
SDK และ API เป็น 2 เครื่องมือที่คุณสามารถใช้เมื่อพัฒนาแอปสำหรับ Meet โดยพื้นฐานแล้ว SDK และ API มีคุณลักษณะคล้ายกันและช่วยให้คุณเพิ่มความสามารถของแอปได้
SDK
ชุดพัฒนาซอฟต์แวร์ (SDK) คือเครื่องมือสำหรับสร้างซอฟต์แวร์บนแพลตฟอร์ม ระบบปฏิบัติการ หรือภาษาโปรแกรมที่เฉพาะเจาะจง SDK มักจะประกอบด้วยคอมไพเลอร์ ไลบรารีโค้ด โปรแกรมแก้ไขข้อบกพร่อง เอกสารประกอบ บทแนะนำ ตัวอย่างโค้ด และไลบรารี API อย่างน้อย 1 รายการเพื่ออำนวยความสะดวกในการสื่อสาร
SDK มีประโยชน์หลายประการ ดังนี้
- ซึ่งประกอบด้วยทุกอย่างที่นักพัฒนาซอฟต์แวร์จําเป็นต้องใช้ในการสร้างและเรียกใช้ซอฟต์แวร์ ซึ่งช่วยให้สร้างซอฟต์แวร์ได้ในรูปแบบมาตรฐาน
- สร้างวงจรการพัฒนาที่เร็วขึ้นเนื่องจาก SDK มีคอมโพเนนต์และไลบรารีที่สร้างไว้ล่วงหน้าซึ่งช่วยให้พัฒนาแอปได้
- มีข้อมูลในตัว เช่น เอกสารประกอบและบทแนะนำ ซึ่งช่วยให้นักพัฒนาแอปสร้าง ทดสอบ และติดตั้งใช้งานแอปได้
- ควบคุมต้นทุนโดยการลดเวลาและทรัพยากรในการพัฒนาแอป
API
Application Programming Interface (API) ช่วยในการติดต่อสื่อสารระหว่างแพลตฟอร์ม 2 แพลตฟอร์มโดยอนุญาตให้นักพัฒนาแอปสร้างบริการที่เสนอใน API
API ไม่ว่าจะอยู่ใน SDK หรือเป็นแบบสแตนด์อโลนจะใช้โปรโตคอลที่กำหนดไว้ล่วงหน้าเพื่อระบุวิธีแลกเปลี่ยนข้อมูล API จะช่วยลดความซับซ้อนของการเชื่อมต่อกับบริการเพื่อให้การผสานรวมระหว่างแอปเป็นไปได้
โดยปกติแล้ว API จะประกอบด้วยส่วนต่อไปนี้
- อินเทอร์เฟซ: Web API หรือ Web Service API (ซึ่งเป็นอินเทอร์เฟซการประมวลผลแอปพลิเคชันระหว่างเว็บเซิร์ฟเวอร์กับเว็บเบราว์เซอร์ที่เข้าถึงได้โดยตรงผ่านคีย์เวิร์ด) หรือ REST API (ซึ่งเป็นอินเทอร์เฟซแบบไม่มีสถานะที่ใช้ในการเข้าถึงข้อมูลธรรมดาโดยอ้อมผ่านฟังก์ชัน HTTP เช่น GET, PATCH, DELETE)
- เอกสารอ้างอิงและเอกสารประกอบทางเทคนิค: ข้อมูลจำเพาะและเอกสารประกอบคำแนะนำที่อธิบายวิธีใช้ API
API มีประโยชน์หลายประการ ดังนี้
- การผสานรวมระบบซอฟต์แวร์ต่างๆ เพื่อให้ผลิตภัณฑ์มีประสิทธิภาพมากขึ้น
- ใช้เวลาในการพัฒนานานขึ้นเมื่อคุณนําโค้ดฐานที่มีอยู่มาใช้ซ้ำ
- การอัปเดตใช้ได้ที่ระดับ API แทนที่จะทําให้โค้ดทั้งหมดทํางานอีกครั้ง
- กระตุ้นให้ผู้ใช้ใหม่ค้นพบผลิตภัณฑ์ ซึ่งอาจเพิ่มโอกาสทางธุรกิจ
เลือกระหว่าง SDK กับ API
SDK และ API ทําให้กระบวนการพัฒนาซอฟต์แวร์มีประสิทธิภาพและทำงานร่วมกันได้มากขึ้น แม้ว่า SDK มักจะมี API แต่เครื่องมือทั้ง 2 อย่างก็ทํางานร่วมกันได้
ดูตารางต่อไปนี้เพื่อดูกรณีที่ควรใช้เครื่องมือแต่ละรายการ
|
SDK |
API |
คำอธิบาย |
ชุดเครื่องมือสำหรับสร้างซอฟต์แวร์ในแพลตฟอร์ม ระบบปฏิบัติการ หรือภาษาโปรแกรมที่เฉพาะเจาะจง |
ช่วยให้การสื่อสารระหว่าง 2 แพลตฟอร์มเป็นไปอย่างราบรื่น |
วิธีการทำงาน |
ติดตั้งก่อนพัฒนาแอป |
รับคีย์ API เพื่อส่งคําขอ API |
การทำงาน |
สร้างแอปหรือ API |
ขยายความสามารถของแอปเพื่อเชื่อมต่อกับระบบที่มีอยู่ |
Use Case |
เมื่อต้องการใช้เครื่องมือเฉพาะแพลตฟอร์มเพื่อเขียนโค้ดได้เร็วขึ้น |
เมื่อคุณต้องการต่อยอดความสามารถที่นักพัฒนาซอฟต์แวร์รายอื่นเขียนไว้ |
แพลตฟอร์ม |
เฉพาะภาษาและแพลตฟอร์ม |
การสื่อสารข้ามแพลตฟอร์ม |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-01 UTC
[null,null,["อัปเดตล่าสุด 2025-08-01 UTC"],[],[],null,["# Google Meet SDK and API overview\n\nThe Google Meet SDK and API empower developers to interact with\nMeet. You can programmatically integrate Meet into\nyour product or use your product in Meet.\n\nMeet SDKs and APIs\n------------------\n\nThere are several ways to implement solutions for and integrate with\nGoogle Meet:\n\n- [Google Meet add-ons SDK for Web](/workspace/meet/add-ons/guides/overview): Embed your\n app into Meet as an add-on where\n users can discover, share, and collaborate in the app without leaving\n Meet. You can also synchronize content in real-time and\n provide shared controls for users to use from your app.\n\n- [Google Meet REST API](/workspace/meet/api/guides/overview): Create and manage meetings within\n your app, and retrieve data from a conference.\n\n- [Google Meet Media API](/workspace/meet/media-api/guides/overview) (Developer Preview):\n Access raw audio and video streams during a meeting in Meet.\n\nThe following diagram helps you choose the correct endpoint for the problem\nyou're trying to solve:\n\nWhat's the difference between an SDK and API?\n---------------------------------------------\n\nThe SDK and API are two tools that you can use when developing for\nMeet. Essentially, an SDK and API share similar traits and they\nlet you increase your app's capabilities.\n\n### SDK\n\nA software development kit (SDK) are tools to build software on a specific\nplatform, operating system, or programming language. An SDK often includes\ncompilers, code libraries, debuggers, documentation, tutorials, code samples,\nand at least one API library to facilitate communication.\n\nSDKs provide several benefits:\n\n- They include everything developers need to build and run software, allowing software to be constructed in a standardized way.\n- Creates faster development cycles as the SDK includes prebuilt components and libraries that allow for app development.\n- Contains built-in information such as documentation and tutorials allowing developers to build, test, and deploy apps.\n- Controls costs by reducing app development time and resources.\n\n### API\n\nAn application programming interface (API) aids communication between two\nplatforms by allowing developers to build upon the service offered in the API.\nThe API, either within an SDK or as standalone, uses predetermined protocols to\nspecify how data should be exchanged. APIs abstract away the complexities of\nconnecting to services to make integrations between apps possible.\n\nAn API usually consists of the following:\n\n- The interface: Either a Web API or Web Service API (which is an application processing interface between a web server and web browser accessed directly through a keyword) or a REST API (which is a stateless interface used to indirectly access plain data through HTTP functions like GET, PATCH, DELETE).\n- Technical references and documentation: The reference specifications and guide documentation that explains how to use the API.\n\nAPIs provide several benefits:\n\n- Integration of different software systems for stronger products.\n- Increased development time as you reuse your existing codebase.\n- Updates can be applied at the API level instead of redeploying all the code.\n- Encourages new users to discover your products which can increase business opportunities.\n\n### Choose between an SDK and API\n\nSDKs and APIs make the software development process more efficient and\ncollaborative. While an SDK often includes an API, both tools can work together.\n\nReview the following table on when to use each tool:\n\n| | SDK | API |\n|------------------|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------|\n| **Description** | Toolkit to build software on a specific platform, operating system, or programming language. | Aids communication between two platforms. |\n| **How it works** | Install before developing your app. | Obtain API key to make API requests. |\n| **Function** | Create apps or APIs. | Expand the capabilities of your apps to connect with existing systems. |\n| **Use case** | When you need platform-specific tools to write code faster. | When you want to build on capabilities written by another developer. |\n| **Platform** | Language and platform specific. | Cross-platform communication. |"]]