Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Lädt Medienstatistiken vom Client auf den Server hoch. Die Statistiken werden über den Aufruf von RTCPeerConnection.getStats() aus WebRTC abgerufen. Der zurückgegebene RTCStatsReport kann den folgenden Abschnitten zugeordnet werden.
Eine eindeutige, vom Client generierte Kennung für diese Anfrage. Unterschiedliche Anfragen dürfen innerhalb eines Datenkanals niemals dieselbe Anfrage-ID haben. (Von MediaApiRequest übernommen)
[null,null,["Zuletzt aktualisiert: 2025-07-25 (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. |"]]