| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 1912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1923 RunBaseTest(&test); | 1923 RunBaseTest(&test); |
| 1924 } | 1924 } |
| 1925 | 1925 |
| 1926 TEST_F(EndToEndTest, AudioVideoReceivesTransportFeedback) { | 1926 TEST_F(EndToEndTest, AudioVideoReceivesTransportFeedback) { |
| 1927 TransportFeedbackTester test(true, 1, 1); | 1927 TransportFeedbackTester test(true, 1, 1); |
| 1928 RunBaseTest(&test); | 1928 RunBaseTest(&test); |
| 1929 } | 1929 } |
| 1930 | 1930 |
| 1931 TEST_F(EndToEndTest, StopsSendingMediaWithoutFeedback) { | 1931 TEST_F(EndToEndTest, StopsSendingMediaWithoutFeedback) { |
| 1932 test::ScopedFieldTrials override_field_trials( | 1932 test::ScopedFieldTrials override_field_trials( |
| 1933 "WebRTC-CwndExperiment/Enabled/"); | 1933 "WebRTC-CwndExperiment/Enabled-250/"); |
| 1934 | 1934 |
| 1935 class TransportFeedbackTester : public test::EndToEndTest { | 1935 class TransportFeedbackTester : public test::EndToEndTest { |
| 1936 public: | 1936 public: |
| 1937 TransportFeedbackTester(size_t num_video_streams, size_t num_audio_streams) | 1937 TransportFeedbackTester(size_t num_video_streams, size_t num_audio_streams) |
| 1938 : EndToEndTest(::webrtc::EndToEndTest::kDefaultTimeoutMs), | 1938 : EndToEndTest(::webrtc::EndToEndTest::kDefaultTimeoutMs), |
| 1939 num_video_streams_(num_video_streams), | 1939 num_video_streams_(num_video_streams), |
| 1940 num_audio_streams_(num_audio_streams), | 1940 num_audio_streams_(num_audio_streams), |
| 1941 media_sent_(0), | 1941 media_sent_(0), |
| 1942 padding_sent_(0) { | 1942 padding_sent_(0) { |
| 1943 // Only one stream of each supported for now. | 1943 // Only one stream of each supported for now. |
| (...skipping 2894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4838 std::unique_ptr<VideoEncoder> encoder_; | 4838 std::unique_ptr<VideoEncoder> encoder_; |
| 4839 std::unique_ptr<VideoDecoder> decoder_; | 4839 std::unique_ptr<VideoDecoder> decoder_; |
| 4840 rtc::CriticalSection crit_; | 4840 rtc::CriticalSection crit_; |
| 4841 int recorded_frames_ GUARDED_BY(crit_); | 4841 int recorded_frames_ GUARDED_BY(crit_); |
| 4842 } test(this); | 4842 } test(this); |
| 4843 | 4843 |
| 4844 RunBaseTest(&test); | 4844 RunBaseTest(&test); |
| 4845 } | 4845 } |
| 4846 | 4846 |
| 4847 } // namespace webrtc | 4847 } // namespace webrtc |
| OLD | NEW |