Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: webrtc/rtc_tools/loopback_test/record-test.sh

Issue 2965593002: Move webrtc/{tools => rtc_tools} (Closed)
Patch Set: Adding back root changes Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # 2 #
3 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 3 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
4 # 4 #
5 # Use of this source code is governed by a BSD-style license 5 # Use of this source code is governed by a BSD-style license
6 # that can be found in the LICENSE file in the root of the source 6 # that can be found in the LICENSE file in the root of the source
7 # tree. An additional intellectual property rights grant can be found 7 # tree. An additional intellectual property rights grant can be found
8 # in the file PATENTS. All contributing project authors may 8 # in the file PATENTS. All contributing project authors may
9 # be found in the AUTHORS file in the root of the source tree. 9 # be found in the AUTHORS file in the root of the source tree.
10 # 10 #
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 echo "Recording $INTERFACE into ${OUTPUT_RECORDING}" 51 echo "Recording $INTERFACE into ${OUTPUT_RECORDING}"
52 sudo -n tcpdump -i "$INTERFACE" -w - > "${OUTPUT_RECORDING}" & 52 sudo -n tcpdump -i "$INTERFACE" -w - > "${OUTPUT_RECORDING}" &
53 TCPDUMP_PID=$! 53 TCPDUMP_PID=$!
54 54
55 echo "Starting ${CHROME_UNDER_TESTING} with ${TEST_URL}." 55 echo "Starting ${CHROME_UNDER_TESTING} with ${TEST_URL}."
56 # Using real camera instead of --use-fake-device-for-media-stream as it 56 # Using real camera instead of --use-fake-device-for-media-stream as it
57 # does not produces images complex enough to reach 3mbps. 57 # does not produces images complex enough to reach 3mbps.
58 # Flag --use-fake-ui-for-media-stream automatically allows getUserMedia calls. 58 # Flag --use-fake-ui-for-media-stream automatically allows getUserMedia calls.
59 $CHROME_UNDER_TESTING --use-fake-ui-for-media-stream "${TEST_URL}" 59 $CHROME_UNDER_TESTING --use-fake-ui-for-media-stream "${TEST_URL}"
60 kill ${TCPDUMP_PID} 60 kill ${TCPDUMP_PID}
OLDNEW
« no previous file with comments | « webrtc/rtc_tools/loopback_test/loopback_test.js ('k') | webrtc/rtc_tools/loopback_test/run-server.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698