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 | 10 |
11 #include "webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h" | 11 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" |
12 | 12 |
13 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 #include "webrtc/base/scoped_ptr.h" | 15 #include "webrtc/base/scoped_ptr.h" |
16 #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h" | 16 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" |
17 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 17 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
18 #include "webrtc/modules/rtp_rtcp/source/mock/mock_rtp_payload_strategy.h" | 18 #include "webrtc/modules/rtp_rtcp/source/mock/mock_rtp_payload_strategy.h" |
19 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 19 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
20 | 20 |
21 namespace webrtc { | 21 namespace webrtc { |
22 | 22 |
23 using ::testing::Eq; | 23 using ::testing::Eq; |
24 using ::testing::Return; | 24 using ::testing::Return; |
25 using ::testing::_; | 25 using ::testing::_; |
26 | 26 |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 rtp_payload_registry_->SetRtxPayloadType(105, 95); | 392 rtp_payload_registry_->SetRtxPayloadType(105, 95); |
393 rtp_payload_registry_->set_use_rtx_payload_mapping_on_restore(true); | 393 rtp_payload_registry_->set_use_rtx_payload_mapping_on_restore(true); |
394 TestRtxPacket(rtp_payload_registry_.get(), 105, 95, true); | 394 TestRtxPacket(rtp_payload_registry_.get(), 105, 95, true); |
395 TestRtxPacket(rtp_payload_registry_.get(), 106, 0, false); | 395 TestRtxPacket(rtp_payload_registry_.get(), 106, 0, false); |
396 } | 396 } |
397 | 397 |
398 INSTANTIATE_TEST_CASE_P(TestDynamicRange, RtpPayloadRegistryGenericTest, | 398 INSTANTIATE_TEST_CASE_P(TestDynamicRange, RtpPayloadRegistryGenericTest, |
399 testing::Range(96, 127+1)); | 399 testing::Range(96, 127+1)); |
400 | 400 |
401 } // namespace webrtc | 401 } // namespace webrtc |
OLD | NEW |