Stay organized with collections
Save and categorize content based on your preferences.
Uploads media stats from the client to the server. The stats are retrieved from
WebRTC by calling
RTCPeerConnection.getStats().
The returned
RTCStatsReport
can be mapped to the sections below.
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)
[null,null,["Last updated 2025-04-09 UTC."],[],[],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. |"]]