OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 26 matching lines...) Expand all Loading... |
37 // Discard all temporal/spatial layers with id greater or equal the | 37 // Discard all temporal/spatial layers with id greater or equal the |
38 // threshold. 0 to disable. | 38 // threshold. 0 to disable. |
39 size_t tl_discard_threshold; | 39 size_t tl_discard_threshold; |
40 size_t sl_discard_threshold; | 40 size_t sl_discard_threshold; |
41 int32_t loss_percent; | 41 int32_t loss_percent; |
42 int32_t link_capacity_kbps; | 42 int32_t link_capacity_kbps; |
43 int32_t queue_size; | 43 int32_t queue_size; |
44 int32_t avg_propagation_delay_ms; | 44 int32_t avg_propagation_delay_ms; |
45 int32_t std_propagation_delay_ms; | 45 int32_t std_propagation_delay_ms; |
46 bool logs; | 46 bool logs; |
| 47 bool send_side_bwe; |
47 }; | 48 }; |
48 | 49 |
49 explicit Loopback(const Config& config); | 50 explicit Loopback(const Config& config); |
50 virtual ~Loopback(); | 51 virtual ~Loopback(); |
51 | 52 |
52 void Run(); | 53 void Run(); |
53 | 54 |
54 protected: | 55 protected: |
55 virtual VideoEncoderConfig CreateEncoderConfig(); | 56 virtual VideoEncoderConfig CreateEncoderConfig(); |
56 virtual VideoCapturer* CreateCapturer(VideoSendStream* send_stream); | 57 virtual VideoCapturer* CreateCapturer(VideoSendStream* send_stream); |
57 | 58 |
58 const Config config_; | 59 const Config config_; |
59 Clock* const clock_; | 60 Clock* const clock_; |
60 }; | 61 }; |
61 | 62 |
62 } // namespace test | 63 } // namespace test |
63 } // namespace webrtc | 64 } // namespace webrtc |
OLD | NEW |