From bd5e6e2392a7077fa3ab033ca9a6cc5ed2592dba Mon Sep 17 00:00:00 2001 From: Karol Konkol Date: Fri, 19 Jul 2024 10:50:04 +0200 Subject: [PATCH] Add RTCStatsReport notification --- fishjam/peer_notifications.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fishjam/peer_notifications.proto b/fishjam/peer_notifications.proto index 833f9b5..aff60c2 100644 --- a/fishjam/peer_notifications.proto +++ b/fishjam/peer_notifications.proto @@ -17,9 +17,16 @@ message PeerMessage { string data = 1; } + // PeerConnection stats sent by peer + // https://developer.mozilla.org/en-US/docs/Web/API/RTCStatsReport#the_statistic_types + message RTCStatsReport { + string data = 1; + } + oneof content { Authenticated authenticated = 1; AuthRequest auth_request = 2; MediaEvent media_event = 3; + RTCStatsReport rtc_stats_report = 4; } }