## Chrome Flags ### Fake Device Simulation ``` --use-fake-device-for-media-stream ``` ### Debug Logging ``` --enable-logging --v=1 --vmodule=*source*/talk/*=3 ``` ### Bash Alias ```sh # initialise the chrome alias alias chrome="rm -rf $HOME/.config/chrome-test && google-chrome --console --no-first-run --user-data-dir=$HOME/.config/chrome-test --use-fake-device-for-media-stream --use-file-for-fake-video-capture=/home/doehlman/testvideo.y4m --enable-logging --v=1 --vmodule=*third_party/libjingle/*=3,*=0" ``` ## 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/ ```