Media/WebRTC/Logging: Difference between revisions

Jump to navigation Jump to search
Corrected NSPR logging link
(Adding link to NSPR logging.)
(Corrected NSPR logging link)
Line 10: Line 10:
=== Signaling (SDP offer/answer handling) ===
=== Signaling (SDP offer/answer handling) ===


This uses the normal Mozilla [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/NSPR_LOG_MODULES NSPR logging] infrastructure, which uses a comma-separated list of modules, each one with its indicated log level. For WebRTC, you'll be most interested in
This uses the normal Mozilla [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR/Reference/Logging NSPR logging] infrastructure, which uses a comma-separated list of modules, each one with its indicated log level. For WebRTC, you'll be most interested in
* NSPR_LOG_MODULES=signaling:5,mtransport:5
* NSPR_LOG_MODULES=signaling:5,mtransport:5
* NSPR_LOG_FILE=/path/to/nspr.log (if you don't want the default stderr)
* NSPR_LOG_FILE=/path/to/nspr.log (if you don't want the default stderr)
139

edits

Navigation menu