OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 |
11 #include "webrtc/modules/interface/module_common_types.h" | 11 #include "webrtc/modules/include/module_common_types.h" |
12 #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h" | 12 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" |
13 #include "webrtc/system_wrappers/include/atomic32.h" | 13 #include "webrtc/system_wrappers/include/atomic32.h" |
14 #include "webrtc/system_wrappers/include/sleep.h" | 14 #include "webrtc/system_wrappers/include/sleep.h" |
15 #include "webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.h
" | 15 #include "webrtc/voice_engine/test/auto_test/fixtures/before_streaming_fixture.h
" |
16 | 16 |
17 using ::testing::_; | 17 using ::testing::_; |
18 using ::testing::AtLeast; | 18 using ::testing::AtLeast; |
19 using ::testing::Eq; | 19 using ::testing::Eq; |
20 using ::testing::Field; | 20 using ::testing::Field; |
21 | 21 |
22 class ExtensionVerifyTransport : public webrtc::Transport { | 22 class ExtensionVerifyTransport : public webrtc::Transport { |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 EXPECT_EQ(0, voe_rtp_rtcp_->SetSendAbsoluteSenderTimeStatus(channel_, true, | 146 EXPECT_EQ(0, voe_rtp_rtcp_->SetSendAbsoluteSenderTimeStatus(channel_, true, |
147 3)); | 147 3)); |
148 EXPECT_EQ(0, voe_rtp_rtcp_->SetSendAudioLevelIndicationStatus(channel_, true, | 148 EXPECT_EQ(0, voe_rtp_rtcp_->SetSendAudioLevelIndicationStatus(channel_, true, |
149 9)); | 149 9)); |
150 verifying_transport_.SetAbsoluteSenderTimeId(3); | 150 verifying_transport_.SetAbsoluteSenderTimeId(3); |
151 // Don't register audio level with header parser - unknown extensions should | 151 // Don't register audio level with header parser - unknown extensions should |
152 // be ignored when parsing. | 152 // be ignored when parsing. |
153 ResumePlaying(); | 153 ResumePlaying(); |
154 EXPECT_TRUE(verifying_transport_.Wait()); | 154 EXPECT_TRUE(verifying_transport_.Wait()); |
155 } | 155 } |
OLD | NEW |