-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Debugging WebRTC
benny daon edited this page Jan 21, 2021
·
3 revisions
Enable debug messages by setting system env vars.
PION_LOG_TRACE=all go run xxx.go
If TRACE enabled, it will show the trace,debug ... logs.
If DEBUG enabled, it will show debug, warn ... logs.
see pkg/logging/scoped.go
for more details.
PION_LOG_TRACE=ice PION_LOG_DEBUG=pc,dtls PIONS_LOG_INFO=all
That will do
trace: ice
debug: pc dtls
info: everything else!
The WebRTC API has a vast array of statistics available, covering the entire breadth of the WebRTC connectivity system, from sender to receiver and peer to peer.
Sign up for the Golang Slack and join the #pion channel for discussions and support
If you need commercial support/don't want to use public methods you can contact us at team@pion.ly