OLD | NEW |
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 Loading... |
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} |
OLD | NEW |