| 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 <vector> | 15 #include <vector> | 
| 16 | 16 | 
| 17 #include "webrtc/audio/audio_receive_stream.h" | 17 #include "webrtc/audio/audio_receive_stream.h" | 
| 18 #include "webrtc/audio/audio_send_stream.h" | 18 #include "webrtc/audio/audio_send_stream.h" | 
| 19 #include "webrtc/audio/audio_state.h" | 19 #include "webrtc/audio/audio_state.h" | 
| 20 #include "webrtc/audio/scoped_voe_interface.h" | 20 #include "webrtc/audio/scoped_voe_interface.h" | 
| 21 #include "webrtc/base/checks.h" | 21 #include "webrtc/base/checks.h" | 
| 22 #include "webrtc/base/constructormagic.h" | 22 #include "webrtc/base/constructormagic.h" | 
| 23 #include "webrtc/base/logging.h" | 23 #include "webrtc/base/logging.h" | 
| 24 #include "webrtc/base/task_queue.h" | 24 #include "webrtc/base/task_queue.h" | 
| 25 #include "webrtc/base/thread_annotations.h" | 25 #include "webrtc/base/thread_annotations.h" | 
| 26 #include "webrtc/base/thread_checker.h" | 26 #include "webrtc/base/thread_checker.h" | 
| 27 #include "webrtc/base/trace_event.h" | 27 #include "webrtc/base/trace_event.h" | 
| 28 #include "webrtc/call.h" | 28 #include "webrtc/call.h" | 
| 29 #include "webrtc/call/bitrate_allocator.h" | 29 #include "webrtc/call/bitrate_allocator.h" | 
| 30 #include "webrtc/call/rtc_event_log.h" |  | 
| 31 #include "webrtc/config.h" | 30 #include "webrtc/config.h" | 
|  | 31 #include "webrtc/logging/rtc_event_log/rtc_event_log.h" | 
| 32 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" | 32 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" | 
| 33 #include "webrtc/modules/congestion_controller/include/congestion_controller.h" | 33 #include "webrtc/modules/congestion_controller/include/congestion_controller.h" | 
| 34 #include "webrtc/modules/pacing/paced_sender.h" | 34 #include "webrtc/modules/pacing/paced_sender.h" | 
| 35 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" | 35 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" | 
| 36 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 36 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" | 
| 37 #include "webrtc/modules/utility/include/process_thread.h" | 37 #include "webrtc/modules/utility/include/process_thread.h" | 
| 38 #include "webrtc/system_wrappers/include/clock.h" | 38 #include "webrtc/system_wrappers/include/clock.h" | 
| 39 #include "webrtc/system_wrappers/include/cpu_info.h" | 39 #include "webrtc/system_wrappers/include/cpu_info.h" | 
| 40 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 40 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 
| 41 #include "webrtc/system_wrappers/include/metrics.h" | 41 #include "webrtc/system_wrappers/include/metrics.h" | 
| (...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 943   // thread. Then this check can be enabled. | 943   // thread. Then this check can be enabled. | 
| 944   // RTC_DCHECK(!configuration_thread_checker_.CalledOnValidThread()); | 944   // RTC_DCHECK(!configuration_thread_checker_.CalledOnValidThread()); | 
| 945   if (RtpHeaderParser::IsRtcp(packet, length)) | 945   if (RtpHeaderParser::IsRtcp(packet, length)) | 
| 946     return DeliverRtcp(media_type, packet, length); | 946     return DeliverRtcp(media_type, packet, length); | 
| 947 | 947 | 
| 948   return DeliverRtp(media_type, packet, length, packet_time); | 948   return DeliverRtp(media_type, packet, length, packet_time); | 
| 949 } | 949 } | 
| 950 | 950 | 
| 951 }  // namespace internal | 951 }  // namespace internal | 
| 952 }  // namespace webrtc | 952 }  // namespace webrtc | 
| OLD | NEW | 
|---|