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 <string.h> | 11 #include <string.h> |
12 #include <algorithm> | 12 #include <algorithm> |
13 #include <map> | 13 #include <map> |
14 #include <memory> | 14 #include <memory> |
15 #include <set> | 15 #include <set> |
16 #include <utility> | 16 #include <utility> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "webrtc/audio/audio_receive_stream.h" | 19 #include "webrtc/audio/audio_receive_stream.h" |
20 #include "webrtc/audio/audio_send_stream.h" | 20 #include "webrtc/audio/audio_send_stream.h" |
21 #include "webrtc/audio/audio_state.h" | 21 #include "webrtc/audio/audio_state.h" |
22 #include "webrtc/audio/scoped_voe_interface.h" | 22 #include "webrtc/audio/scoped_voe_interface.h" |
23 #include "webrtc/audio/time_interval.h" | 23 #include "webrtc/audio/time_interval.h" |
24 #include "webrtc/call/bitrate_allocator.h" | 24 #include "webrtc/call/bitrate_allocator.h" |
25 #include "webrtc/call/call.h" | 25 #include "webrtc/call/call.h" |
26 #include "webrtc/call/flexfec_receive_stream_impl.h" | 26 #include "webrtc/call/flexfec_receive_stream_impl.h" |
27 #include "webrtc/call/rtp_stream_receiver_controller.h" | 27 #include "webrtc/call/rtp_stream_receiver_controller.h" |
28 #include "webrtc/call/rtp_transport_controller_send.h" | 28 #include "webrtc/call/rtp_transport_controller_send.h" |
29 #include "webrtc/config.h" | |
30 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" | 29 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" |
31 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" | 30 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" |
32 #include "webrtc/modules/congestion_controller/include/receive_side_congestion_c
ontroller.h" | 31 #include "webrtc/modules/congestion_controller/include/receive_side_congestion_c
ontroller.h" |
33 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h" | 32 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h" |
34 #include "webrtc/modules/rtp_rtcp/include/rtp_header_extension_map.h" | 33 #include "webrtc/modules/rtp_rtcp/include/rtp_header_extension_map.h" |
35 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" | 34 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" |
36 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 35 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
37 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" | 36 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" |
38 #include "webrtc/modules/utility/include/process_thread.h" | 37 #include "webrtc/modules/utility/include/process_thread.h" |
39 #include "webrtc/rtc_base/basictypes.h" | 38 #include "webrtc/rtc_base/basictypes.h" |
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1436 (use_send_side_bwe && header.extension.hasTransportSequenceNumber)) { | 1435 (use_send_side_bwe && header.extension.hasTransportSequenceNumber)) { |
1437 receive_side_cc_.OnReceivedPacket( | 1436 receive_side_cc_.OnReceivedPacket( |
1438 packet.arrival_time_ms(), packet.payload_size() + packet.padding_size(), | 1437 packet.arrival_time_ms(), packet.payload_size() + packet.padding_size(), |
1439 header); | 1438 header); |
1440 } | 1439 } |
1441 } | 1440 } |
1442 | 1441 |
1443 } // namespace internal | 1442 } // namespace internal |
1444 | 1443 |
1445 } // namespace webrtc | 1444 } // namespace webrtc |
OLD | NEW |