We have been attempting to use the following chrome flags to test a WebRTC application that uses
a specified audio file for playback instead of the standard beep .
--use-fake-ui-for-media-stream
--use-file-for-fake-audio-capture
--use-fake-device-for-media-stream
We start the process off using xvfb on a server running Centos 6.5.
The command used to start the session is
export DISPLAY=:1 && /usr/bin/xvfb-run -e /dev/stdout --server-num=100 --server-args="-screen 0 ${width}x${height}x16" /usr/bin/google-chrome --enable-logging --v=1 --vmodule=*=1 --user-data-dir=/chromed/google-chrome100 --window-size=${width},${height} --disable-client-side-phishing-detection --disable-sync --use-fake-ui-for-media-stream --use-file-for-fake-audio-capture=/opt/zenon/public_html/demo/a2002011001-e02.wav --use-fake-device-for-media-stream --start-maximized --user-data-dir=/chromed/google-chrome100 ${gop} &
I have attached the chrome_debug.log for the session