Method: spaces.connectActiveConference
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-24。
[null,null,["最后更新时间 (UTC):2025-07-24。"],[],[],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)."]]