OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 | 12 |
13 #include "webrtc/base/checks.h" | |
14 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 13 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
15 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 14 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
16 #include "webrtc/modules/rtp_rtcp/source/rtp_format.h" | 15 #include "webrtc/modules/rtp_rtcp/source/rtp_format.h" |
17 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" | 16 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" |
| 17 #include "webrtc/rtc_base/checks.h" |
18 #include "webrtc/test/layer_filtering_transport.h" | 18 #include "webrtc/test/layer_filtering_transport.h" |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 namespace test { | 21 namespace test { |
22 | 22 |
23 LayerFilteringTransport::LayerFilteringTransport( | 23 LayerFilteringTransport::LayerFilteringTransport( |
24 const FakeNetworkPipe::Config& config, | 24 const FakeNetworkPipe::Config& config, |
25 Call* send_call, | 25 Call* send_call, |
26 uint8_t vp8_video_payload_type, | 26 uint8_t vp8_video_payload_type, |
27 uint8_t vp9_video_payload_type, | 27 uint8_t vp9_video_payload_type, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 // make sure the marker bit is set properly, and that sequence numbers are | 99 // make sure the marker bit is set properly, and that sequence numbers are |
100 // continuous. | 100 // continuous. |
101 if (set_marker_bit) | 101 if (set_marker_bit) |
102 temp_buffer[1] |= kRtpMarkerBitMask; | 102 temp_buffer[1] |= kRtpMarkerBitMask; |
103 | 103 |
104 return test::DirectTransport::SendRtp(temp_buffer, length, options); | 104 return test::DirectTransport::SendRtp(temp_buffer, length, options); |
105 } | 105 } |
106 | 106 |
107 } // namespace test | 107 } // namespace test |
108 } // namespace webrtc | 108 } // namespace webrtc |
OLD | NEW |