| 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 <memory> | 11 #include <memory> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "webrtc/base/buffer.h" | 14 #include "webrtc/base/buffer.h" |
| 15 #include "webrtc/base/rate_limiter.h" | 15 #include "webrtc/base/rate_limiter.h" |
| 16 #include "webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h" | 16 #include "webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h" |
| 17 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h" | 17 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h" |
| 18 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" | 18 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" |
| 19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
| 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" | 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" |
| 21 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h" | 21 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h" |
| 22 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" | 22 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" |
| 23 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" | 23 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" |
| 24 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" | 24 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" |
| 25 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h" | 25 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h" |
| 26 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" | 26 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" |
| 27 #include "webrtc/modules/rtp_rtcp/source/rtp_sender_video.h" | 27 #include "webrtc/modules/rtp_rtcp/source/rtp_sender_video.h" |
| 28 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 28 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
| 29 #include "webrtc/system_wrappers/include/stl_util.h" | |
| 30 #include "webrtc/test/field_trial.h" | 29 #include "webrtc/test/field_trial.h" |
| 31 #include "webrtc/test/gmock.h" | 30 #include "webrtc/test/gmock.h" |
| 32 #include "webrtc/test/gtest.h" | 31 #include "webrtc/test/gtest.h" |
| 33 #include "webrtc/test/mock_transport.h" | 32 #include "webrtc/test/mock_transport.h" |
| 34 #include "webrtc/typedefs.h" | 33 #include "webrtc/typedefs.h" |
| 35 | 34 |
| 36 namespace webrtc { | 35 namespace webrtc { |
| 37 | 36 |
| 38 namespace { | 37 namespace { |
| 39 const int kTransmissionTimeOffsetExtensionId = 1; | 38 const int kTransmissionTimeOffsetExtensionId = 1; |
| (...skipping 1413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1453 PacketInfo::kNotAProbe)) | 1452 PacketInfo::kNotAProbe)) |
| 1454 .Times(1); | 1453 .Times(1); |
| 1455 EXPECT_CALL(mock_overhead_observer, | 1454 EXPECT_CALL(mock_overhead_observer, |
| 1456 OnOverheadChanged(kTransportOverheadBytesPerPacket + | 1455 OnOverheadChanged(kTransportOverheadBytesPerPacket + |
| 1457 kRtpOverheadBytesPerPacket)) | 1456 kRtpOverheadBytesPerPacket)) |
| 1458 .Times(1); | 1457 .Times(1); |
| 1459 SendGenericPayload(); | 1458 SendGenericPayload(); |
| 1460 } | 1459 } |
| 1461 | 1460 |
| 1462 } // namespace webrtc | 1461 } // namespace webrtc |
| OLD | NEW |