方法簽名 MediaApiCommunicationProtocol.connectActiveConference
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
使用指定的 SDP 優惠連線至進行中的會議。
簽名
connectActiveConference(
sdpOffer: string,
): Promise<MediaApiCommunicationResponse>;
詳細資料
參數
名稱 |
類型 |
選用 |
說明 |
sdpOffer
|
string
|
否
|
SDP 提供連線至有效會議的功能。 |
傳回
Promise<MediaApiCommunicationResponse>
解析為通訊回應的承諾。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# Method signature MediaApiCommunicationProtocol.connectActiveConference\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. \n|\n| **To use the Meet Media API to access real-time media from a conference, the Google Cloud project, OAuth principal, and all participants in the conference must be enrolled in the Developer Preview Program.**\n\nConnects to the active conference with the given SDP offer.\n\nSignature\n---------\n\n connectActiveConference(\n sdpOffer: string,\n ): Promise\u003cMediaApiCommunicationResponse\u003e;\n\nDetails\n-------\n\n| Optional | No |\n|----------|----|\n\nParameters\n----------\n\n| Name | Type | Optional | Description |\n|------------|----------|----------|----------------------------------------------------|\n| `sdpOffer` | `string` | No | The SDP offer to connect to the active conference. |\n\nReturns\n-------\n\n`Promise\u003c`[MediaApiCommunicationResponse](./media_api_web.mediaapicommunicationresponse.md)`\u003e`\n\nA promise that resolves to the communication response."]]