Skip to content

Instantly share code, notes, and snippets.

@3p3r
Forked from DamonOehlman/README.md
Created August 2, 2017 17:45
Show Gist options
  • Save 3p3r/14a6d39c26955a0ed610b83f169d0a7b to your computer and use it in GitHub Desktop.
Save 3p3r/14a6d39c26955a0ed610b83f169d0a7b to your computer and use it in GitHub Desktop.
General WebRTC tips and tricks collated over time

Chrome Flags

Fake Device Simulation

--use-fake-device-for-media-stream

Debug Logging

--enable-logging --v=1 --vmodule=*source*/talk/*=3

WebRTC Project Source Files of Interest

Constraints Available in Chrome

/talk/app/webrtc/mediaconstraintsinterface.h

Debugging in Firefox

Starting firefox with logging (for data channels and sctp in this case):

NSPR_LOG_MODULES=datachannel:5,sctp:5 /opt/browsers/firefox/stable/firefox http://localhost:9966/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment