Interface UploadMediaStatsRequest
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
將媒體統計資料從用戶端上傳至伺服器。您可以呼叫 RTCPeerConnection.getStats(),從 WebRTC 擷取統計資料。傳回的 RTCStatsReport 可對應至下列部分。
簽名
declare interface UploadMediaStatsRequest extends MediaApiRequest
傳統遺產
屬性簽名
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# Interface UploadMediaStatsRequest\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\nUploads media stats from the client to the server. The stats are retrieved from\nWebRTC by calling\n[RTCPeerConnection.getStats()](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/getStats).\nThe returned\n[RTCStatsReport](https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport)\ncan be mapped to the sections below.\n\nSignature\n---------\n\n declare interface UploadMediaStatsRequest extends MediaApiRequest\n\nHeritage\n--------\n\n| Extends | [MediaApiRequest](./media_api.mediaapirequest.md) |\n|---------|---------------------------------------------------|\n\nProperty signatures\n-------------------\n\n| Name | Description |\n|-------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [`requestId`](./media_api.mediaapirequest.requestid.md) | A unique client-generated identifier for this request. Different requests must never have the same request ID in the scope of one data channel. *(Inherited from [`MediaApiRequest`](./media_api.mediaapirequest.md))* |\n| [`uploadMediaStats`](./media_api.uploadmediastatsrequest.uploadmediastats.md) | Upload media stats. |"]]