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 3267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3278 NetworkState sender_state_ GUARDED_BY(test_crit_); | 3278 NetworkState sender_state_ GUARDED_BY(test_crit_); |
3279 int sender_rtp_ GUARDED_BY(test_crit_); | 3279 int sender_rtp_ GUARDED_BY(test_crit_); |
3280 int sender_rtcp_ GUARDED_BY(test_crit_); | 3280 int sender_rtcp_ GUARDED_BY(test_crit_); |
3281 int receiver_rtcp_ GUARDED_BY(test_crit_); | 3281 int receiver_rtcp_ GUARDED_BY(test_crit_); |
3282 int down_frames_ GUARDED_BY(test_crit_); | 3282 int down_frames_ GUARDED_BY(test_crit_); |
3283 } test; | 3283 } test; |
3284 | 3284 |
3285 RunBaseTest(&test); | 3285 RunBaseTest(&test); |
3286 } | 3286 } |
3287 | 3287 |
3288 // See: https://bugs.chromium.org/p/webrtc/issues/detail?id=5938 | 3288 TEST_F(EndToEndTest, CallReportsRttForSender) { |
3289 #ifdef WEBRTC_MAC | |
3290 #define MAYBE_CallReportsRttForSender DISABLED_CallReportsRttForSender | |
3291 #else | |
3292 #define MAYBE_CallReportsRttForSender CallReportsRttForSender | |
3293 #endif | |
3294 TEST_F(EndToEndTest, MAYBE_CallReportsRttForSender) { | |
3295 static const int kSendDelayMs = 30; | 3289 static const int kSendDelayMs = 30; |
3296 static const int kReceiveDelayMs = 70; | 3290 static const int kReceiveDelayMs = 70; |
3297 | 3291 |
3298 CreateCalls(Call::Config(), Call::Config()); | 3292 CreateCalls(Call::Config(), Call::Config()); |
3299 | 3293 |
3300 FakeNetworkPipe::Config config; | 3294 FakeNetworkPipe::Config config; |
3301 config.queue_delay_ms = kSendDelayMs; | 3295 config.queue_delay_ms = kSendDelayMs; |
3302 test::DirectTransport sender_transport(config, sender_call_.get()); | 3296 test::DirectTransport sender_transport(config, sender_call_.get()); |
3303 config.queue_delay_ms = kReceiveDelayMs; | 3297 config.queue_delay_ms = kReceiveDelayMs; |
3304 test::DirectTransport receiver_transport(config, receiver_call_.get()); | 3298 test::DirectTransport receiver_transport(config, receiver_call_.get()); |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3546 private: | 3540 private: |
3547 bool video_observed_; | 3541 bool video_observed_; |
3548 bool audio_observed_; | 3542 bool audio_observed_; |
3549 SequenceNumberUnwrapper unwrapper_; | 3543 SequenceNumberUnwrapper unwrapper_; |
3550 std::set<int64_t> received_packet_ids_; | 3544 std::set<int64_t> received_packet_ids_; |
3551 } test; | 3545 } test; |
3552 | 3546 |
3553 RunBaseTest(&test); | 3547 RunBaseTest(&test); |
3554 } | 3548 } |
3555 } // namespace webrtc | 3549 } // namespace webrtc |
OLD | NEW |