| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "webrtc/config.h" | 13 #include "webrtc/api/rtpparameters.h" |
| 14 #include "webrtc/modules/rtp_rtcp/include/flexfec_sender.h" | 14 #include "webrtc/modules/rtp_rtcp/include/flexfec_sender.h" |
| 15 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 15 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
| 16 #include "webrtc/modules/rtp_rtcp/source/fec_test_helper.h" | 16 #include "webrtc/modules/rtp_rtcp/source/fec_test_helper.h" |
| 17 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" | 17 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" |
| 18 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h" | 18 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h" |
| 19 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" | 19 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" |
| 20 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 20 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
| 21 #include "webrtc/system_wrappers/include/clock.h" | 21 #include "webrtc/system_wrappers/include/clock.h" |
| 22 #include "webrtc/test/gtest.h" | 22 #include "webrtc/test/gtest.h" |
| 23 | 23 |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 fec_packet->Timestamp()); | 314 fec_packet->Timestamp()); |
| 315 | 315 |
| 316 RtpState updated_rtp_state = sender.GetRtpState(); | 316 RtpState updated_rtp_state = sender.GetRtpState(); |
| 317 EXPECT_EQ(initial_rtp_state.sequence_number + 2, | 317 EXPECT_EQ(initial_rtp_state.sequence_number + 2, |
| 318 updated_rtp_state.sequence_number); | 318 updated_rtp_state.sequence_number); |
| 319 EXPECT_EQ(initial_rtp_state.start_timestamp, | 319 EXPECT_EQ(initial_rtp_state.start_timestamp, |
| 320 updated_rtp_state.start_timestamp); | 320 updated_rtp_state.start_timestamp); |
| 321 } | 321 } |
| 322 | 322 |
| 323 } // namespace webrtc | 323 } // namespace webrtc |
| OLD | NEW |