| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 <stdlib.h> | 11 #include <stdlib.h> |
| 12 | 12 |
| 13 #include <algorithm> | 13 #include <algorithm> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 #include "webrtc/common_types.h" | 17 #include "webrtc/common_types.h" |
| 18 #include "webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h" | 18 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" |
| 19 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h" | 19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" |
| 20 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" | 20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
| 21 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 21 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
| 22 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h" | 22 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h" |
| 23 #include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h" | 23 #include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h" |
| 24 | 24 |
| 25 namespace { | 25 namespace { |
| 26 | 26 |
| 27 const unsigned char kPayloadType = 100; | 27 const unsigned char kPayloadType = 100; |
| 28 | 28 |
| 29 }; | 29 }; |
| 30 | 30 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 payload_specific, true)); | 182 payload_specific, true)); |
| 183 EXPECT_EQ(0u, receiver_->payload_size()); | 183 EXPECT_EQ(0u, receiver_->payload_size()); |
| 184 EXPECT_EQ(payload_length, receiver_->rtp_header().header.paddingLength); | 184 EXPECT_EQ(payload_length, receiver_->rtp_header().header.paddingLength); |
| 185 } | 185 } |
| 186 timestamp += 3000; | 186 timestamp += 3000; |
| 187 fake_clock.AdvanceTimeMilliseconds(33); | 187 fake_clock.AdvanceTimeMilliseconds(33); |
| 188 } | 188 } |
| 189 } | 189 } |
| 190 | 190 |
| 191 } // namespace webrtc | 191 } // namespace webrtc |
| OLD | NEW |