How do you get live call stats from the C/C++ Webrtc API?

29 views
Skip to first unread message

Jake

unread,
Jul 17, 2025, 2:39:04 AMJul 17
to discuss-webrtc
Does webrtc have a built-in server which allows me to access live call stats via a browser ? If not, which API method(s) can I call to get such stats? 

I would like to collect a wealth of information about ongoing calls and monitor various aspects of the connection in real-time.

Thanks

Harald Alvestrand

unread,
Jul 17, 2025, 3:09:03 AMJul 17
to discuss...@googlegroups.com
If you mean a stats collector that runs in the same page as the call, and has access to the PeerConnection object, GetStats() is your friend.
If you mean the ability to look at connections in real time, chrome://webrtc-internals is your friend.
If you mean the ability to programmatically monitor other people's calls from outside the page, that's an explicit non-goal of the API - it would be a privacy violation to allow it.

--
This list falls under the WebRTC Code of Conduct - https://webrtc.org/support/code-of-conduct.
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/discuss-webrtc/cb353e47-7f78-45f4-8124-4bb5f58d3e67n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages