Method: spaces.connectActiveConference
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-24 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-24 UTC."],[],[],null,["# Method: spaces.connectActiveConference\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ConnectActiveConferenceResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\n| **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features.\nBroker a WebRTC connection to the active conference of a space.\n\nOn success, clients must use the resulting SDP (Session Description Protocol) answer to establish a WebRTC connection. Once connected, additional functionality is available across WebRTC data channels.\n\n### HTTP request\n\n`POST https://meet.googleapis.com/v2beta/{name=spaces/*}:connectActiveConference`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-------------------------------------------------------------------------|\n| `name` | `string` Required. Resource name of the space. Format: spaces/{spaceId} |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------|\n| ``` { \"offer\": string } ``` |\n\n| Fields ||\n|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `offer` | `string` Required. WebRTC SDP (Session Description Protocol) offer from the client. The format is defined by [RFC 8866](https://www.rfc-editor.org/rfc/rfc8866) with mandatory keys defined by [RFC 8829](https://www.rfc-editor.org/rfc/rfc8829). This is the standard SDP format generated by a peer connection's createOffer() and createAnswer() methods. |\n\n### Response body\n\nResponse of spaces.connectActiveConference method.\n\nA success response does not indicate the meeting is fully joined; further communication must occur across WebRTC.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------|\n| ``` { \"answer\": string, \"traceId\": string } ``` |\n\n| Fields ||\n|-----------|---------------------------------------------------------------------------------------|\n| `answer` | `string` WebRTC SDP answer to the offer. |\n| `traceId` | `string` Trace ID for debugging purposes. Please include this value when filing bugs. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/meetings.conference.media.readonly`\n- `https://www.googleapis.com/auth/meetings.conference.media.audio.readonly`\n- `https://www.googleapis.com/auth/meetings.conference.media.video.readonly`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]