On 7/9/13 13:29, [email protected] wrote:
In Chrome, we can turn on detailed debug logs to see ICE connections, STUN 
pings and other media related logs, Is there instructions somewhere for how to 
do this in firefox?


I don't know of any detailed instructions anywhere, but logging in Firefox in general is controlled via environment variables.

For ICE/STUN/TURN:
    Set R_LOG_DESTINATION=stderr
    Set R_LOG_LEVEL=3 (can be anything between 1 and 9)
Set R_LOG_VERBOSE=1 if you want to include the module name generating the message

For "signaling" (SDP offer/answer handling) and media transport, we use the normal Mozilla 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 these:
    Set NSPR_LOG_MODULES=signaling:5,mtransport:5

You can also add ",timestamp:1" to that list if you want each log message to include timestamps.


--
Adam Roach
Principal Platform Engineer
[email protected]
+1 650 903 0800 x863
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to