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 <functional> | 10 #include <functional> |
11 #include <list> | 11 #include <list> |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 | 16 |
17 #include "webrtc/audio_state.h" | 17 #include "webrtc/api/call/audio_state.h" |
18 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
19 #include "webrtc/base/event.h" | 19 #include "webrtc/base/event.h" |
20 #include "webrtc/base/logging.h" | 20 #include "webrtc/base/logging.h" |
21 #include "webrtc/base/thread_annotations.h" | 21 #include "webrtc/base/thread_annotations.h" |
22 #include "webrtc/call.h" | 22 #include "webrtc/call.h" |
23 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 23 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
24 #include "webrtc/system_wrappers/include/trace.h" | 24 #include "webrtc/system_wrappers/include/trace.h" |
25 #include "webrtc/test/call_test.h" | 25 #include "webrtc/test/call_test.h" |
26 #include "webrtc/test/direct_transport.h" | 26 #include "webrtc/test/direct_transport.h" |
27 #include "webrtc/test/encoder_settings.h" | 27 #include "webrtc/test/encoder_settings.h" |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 RtpExtension(RtpExtension::kTimestampOffsetUri, kTOFExtensionId); | 322 RtpExtension(RtpExtension::kTimestampOffsetUri, kTOFExtensionId); |
323 receiver_log_.PushExpectedLogLine(kAbsSendTimeLog); | 323 receiver_log_.PushExpectedLogLine(kAbsSendTimeLog); |
324 receiver_log_.PushExpectedLogLine( | 324 receiver_log_.PushExpectedLogLine( |
325 "WrappingBitrateEstimator: Switching to transmission time offset RBE."); | 325 "WrappingBitrateEstimator: Switching to transmission time offset RBE."); |
326 streams_.push_back(new Stream(this, false)); | 326 streams_.push_back(new Stream(this, false)); |
327 streams_[0]->StopSending(); | 327 streams_[0]->StopSending(); |
328 streams_[1]->StopSending(); | 328 streams_[1]->StopSending(); |
329 EXPECT_TRUE(receiver_log_.Wait()); | 329 EXPECT_TRUE(receiver_log_.Wait()); |
330 } | 330 } |
331 } // namespace webrtc | 331 } // namespace webrtc |
OLD | NEW |