Meet 미디어 API에 클라이언트 측정항목 업로드
Google Meet Media API 클라이언트는 media-stats
데이터 채널을 통해 주기적으로 클라이언트 통계를 업로드해야 합니다.
Meet Media API에 필요한 항목은 WebRTC에서 수집한 통계의 하위 집합으로, RTCPeerConnection::getStats()
메서드를 호출하여 액세스할 수 있습니다.
클라이언트 흐름
모든 Meet Media API 클라이언트는 다음 흐름을 구현해야 합니다.
초기 구성
클라이언트가 media-stats
데이터 채널을 연 후 Meet은 채널을 통해 MediaStatsConfiguration
리소스 업데이트를 즉시 전송합니다. 이 구성은 클라이언트가 통계를 업로드하는 방법을 지정합니다.
구성 |
uploadIntervalSeconds
|
Meet Media API 클라이언트가 통계를 업로드해야 하는 빈도를 지정하거나 클라이언트가 통계를 업로드해서는 안 되는 경우 0을 지정합니다. |
allowlist
|
클라이언트가 업로드해야 하는 RTCPeerConnection::getStats() 항목을 지정합니다. |
통계 업로드
회의에 연결되어 있는 동안 Meet Media API 클라이언트는 다음을 실행해야 합니다.
uploadIntervalSeconds
로 지정된 간격으로 RTCPeerConnection::getStats()
메서드를 호출합니다.
결과 통계 객체를 allowlist
로 지정된 필드로 필터링합니다.
media-stats
데이터 채널을 통해 UploadMediaStatsRequest
를 전송하여 필터링된 통계를 업로드합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-02-24(UTC)
[null,null,["최종 업데이트: 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."]]],[]]