-
Notifications
You must be signed in to change notification settings - Fork 1
feat: send inbound-rtp metrics via DataChannel to pion #156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: send inbound-rtp metrics via DataChannel to pion #156
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds functionality to send WebRTC inbound-rtp metrics to a remote server via DataChannel. The implementation allows real-time monitoring of video and audio reception statistics.
Key changes:
- Added automatic stats collection every 5 seconds once WebRTC connection is established
- Implemented filtering and transmission of inbound-rtp metrics for both video and audio streams
- Added proper cleanup of stats collection interval during shutdown
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
ao-anam
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with the copilot comments but other than that LGTM!
6c1ed51 to
ed45ffa
Compare
ed45ffa to
c15f1eb
Compare
c15f1eb to
d49dbec
Compare
Summary by cubic
Send WebRTC inbound-rtp stats to Pion over the DataChannel every 5 seconds to enable client-side metrics monitoring. Supports Linear CLO-410 by exposing packet loss, jitter, and frame stats for both audio and video.