Stay organized with collections
Save and categorize content based on your preferences.
Google Meet Media API clients must periodically upload client statistics over
the media-stats data channel.
The entries required by the Meet Media API are a subset of the
statistics
gathered by WebRTC, which are accessible by calling the
RTCPeerConnection::getStats() method.
Client flow
All Meet Media API clients must implement the following flow.
Initial configuration
After the client opens the media-stats data channel, Meet
immediately sends a
MediaStatsConfiguration
resource update over the channel. This configuration specifies how the client
should upload stats.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-24 UTC."],[[["Meet Media API clients are required to periodically upload client statistics via the `media-stats` data channel."],["The required statistics for the Meet Media API are a subset of those collected by WebRTC and accessed via the `RTCPeerConnection::getStats()` method."],["Upon opening the `media-stats` channel, clients receive a `MediaStatsConfiguration` from Meet, dictating how statistics should be uploaded."],["Clients must call `RTCPeerConnection::getStats()`, filter the results based on the provided `allowlist`, and upload the filtered stats as an `UploadMediaStatsRequest` over the data channel."],["The upload interval for client statistics is specified by the `uploadIntervalSeconds` parameter provided in the `MediaStatsConfiguration` received from the Meet server."]]],[]]