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.

Revisions

  1. @DamonOehlman DamonOehlman revised this gist Mar 28, 2014. 1 changed file with 22 additions and 1 deletion.
    23 changes: 22 additions & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,32 @@
    ## Chrome Flags

    ### Fake Device Simulation
    This information source from the following url:

    http://peter.sh/experiments/chromium-command-line-switches/

    ### Simulate Capture with a Fake Stream (test video and audio signal)

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

    ### Suppress the Permission Dialog

    ```
    --use-fake-ui-for-media-stream
    ```

    ### Use a raw video file rather than test media stream

    ```
    --use-fake-ui-for-media-stream
    ```

    See my bash alias for an example...

    __NOTE:__ No audio as far as I can tell.


    ### Debug Logging

    ```
  2. Damon Oehlman revised this gist Feb 2, 2014. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -12,6 +12,13 @@
    --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
  3. @DamonOehlman DamonOehlman revised this gist Dec 10, 2013. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -18,4 +18,12 @@

    ```
    /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/
    ```
  4. @DamonOehlman DamonOehlman revised this gist Nov 19, 2013. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -10,4 +10,12 @@

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

    ## WebRTC Project Source Files of Interest

    ### Constraints Available in Chrome

    ```
    /talk/app/webrtc/mediaconstraintsinterface.h
    ```
  5. @DamonOehlman DamonOehlman created this gist Nov 6, 2013.
    13 changes: 13 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    ## Chrome Flags

    ### Fake Device Simulation

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

    ### Debug Logging

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