| 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/base/basictypes.h" | |
| 24 #include "webrtc/base/checks.h" | |
| 25 #include "webrtc/base/constructormagic.h" | |
| 26 #include "webrtc/base/location.h" | |
| 27 #include "webrtc/base/logging.h" | |
| 28 #include "webrtc/base/optional.h" | |
| 29 #include "webrtc/base/ptr_util.h" | |
| 30 #include "webrtc/base/task_queue.h" | |
| 31 #include "webrtc/base/thread_annotations.h" | |
| 32 #include "webrtc/base/thread_checker.h" | |
| 33 #include "webrtc/base/trace_event.h" | |
| 34 #include "webrtc/call/bitrate_allocator.h" | 23 #include "webrtc/call/bitrate_allocator.h" |
| 35 #include "webrtc/call/call.h" | 24 #include "webrtc/call/call.h" |
| 36 #include "webrtc/call/flexfec_receive_stream_impl.h" | 25 #include "webrtc/call/flexfec_receive_stream_impl.h" |
| 37 #include "webrtc/call/rtp_stream_receiver_controller.h" | 26 #include "webrtc/call/rtp_stream_receiver_controller.h" |
| 38 #include "webrtc/call/rtp_transport_controller_send.h" | 27 #include "webrtc/call/rtp_transport_controller_send.h" |
| 39 #include "webrtc/config.h" | 28 #include "webrtc/config.h" |
| 40 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" | 29 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" |
| 41 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" | 30 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" |
| 42 #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" |
| 43 #include "webrtc/modules/pacing/paced_sender.h" | 32 #include "webrtc/modules/pacing/paced_sender.h" |
| 44 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h" | 33 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h" |
| 45 #include "webrtc/modules/rtp_rtcp/include/rtp_header_extension_map.h" | 34 #include "webrtc/modules/rtp_rtcp/include/rtp_header_extension_map.h" |
| 46 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" | 35 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" |
| 47 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 36 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" |
| 48 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" | 37 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" |
| 49 #include "webrtc/modules/utility/include/process_thread.h" | 38 #include "webrtc/modules/utility/include/process_thread.h" |
| 39 #include "webrtc/rtc_base/basictypes.h" |
| 40 #include "webrtc/rtc_base/checks.h" |
| 41 #include "webrtc/rtc_base/constructormagic.h" |
| 42 #include "webrtc/rtc_base/location.h" |
| 43 #include "webrtc/rtc_base/logging.h" |
| 44 #include "webrtc/rtc_base/optional.h" |
| 45 #include "webrtc/rtc_base/ptr_util.h" |
| 46 #include "webrtc/rtc_base/task_queue.h" |
| 47 #include "webrtc/rtc_base/thread_annotations.h" |
| 48 #include "webrtc/rtc_base/thread_checker.h" |
| 49 #include "webrtc/rtc_base/trace_event.h" |
| 50 #include "webrtc/system_wrappers/include/clock.h" | 50 #include "webrtc/system_wrappers/include/clock.h" |
| 51 #include "webrtc/system_wrappers/include/cpu_info.h" | 51 #include "webrtc/system_wrappers/include/cpu_info.h" |
| 52 #include "webrtc/system_wrappers/include/metrics.h" | 52 #include "webrtc/system_wrappers/include/metrics.h" |
| 53 #include "webrtc/system_wrappers/include/rw_lock_wrapper.h" | 53 #include "webrtc/system_wrappers/include/rw_lock_wrapper.h" |
| 54 #include "webrtc/system_wrappers/include/trace.h" | 54 #include "webrtc/system_wrappers/include/trace.h" |
| 55 #include "webrtc/video/call_stats.h" | 55 #include "webrtc/video/call_stats.h" |
| 56 #include "webrtc/video/send_delay_stats.h" | 56 #include "webrtc/video/send_delay_stats.h" |
| 57 #include "webrtc/video/stats_counter.h" | 57 #include "webrtc/video/stats_counter.h" |
| 58 #include "webrtc/video/video_receive_stream.h" | 58 #include "webrtc/video/video_receive_stream.h" |
| 59 #include "webrtc/video/video_send_stream.h" | 59 #include "webrtc/video/video_send_stream.h" |
| (...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1383 (use_send_side_bwe && header.extension.hasTransportSequenceNumber)) { | 1383 (use_send_side_bwe && header.extension.hasTransportSequenceNumber)) { |
| 1384 receive_side_cc_.OnReceivedPacket( | 1384 receive_side_cc_.OnReceivedPacket( |
| 1385 packet.arrival_time_ms(), packet.payload_size() + packet.padding_size(), | 1385 packet.arrival_time_ms(), packet.payload_size() + packet.padding_size(), |
| 1386 header); | 1386 header); |
| 1387 } | 1387 } |
| 1388 } | 1388 } |
| 1389 | 1389 |
| 1390 } // namespace internal | 1390 } // namespace internal |
| 1391 | 1391 |
| 1392 } // namespace webrtc | 1392 } // namespace webrtc |
| OLD | NEW |