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 "webrtc/audio/audio_send_stream.h" | 11 #include "webrtc/audio/audio_send_stream.h" |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 #include <utility> | 14 #include <utility> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/audio/audio_state.h" | 17 #include "webrtc/audio/audio_state.h" |
18 #include "webrtc/audio/conversion.h" | 18 #include "webrtc/audio/conversion.h" |
19 #include "webrtc/audio/scoped_voe_interface.h" | 19 #include "webrtc/audio/scoped_voe_interface.h" |
20 #include "webrtc/base/checks.h" | |
21 #include "webrtc/base/event.h" | |
22 #include "webrtc/base/function_view.h" | |
23 #include "webrtc/base/logging.h" | |
24 #include "webrtc/base/task_queue.h" | |
25 #include "webrtc/base/timeutils.h" | |
26 #include "webrtc/call/rtp_transport_controller_send_interface.h" | 20 #include "webrtc/call/rtp_transport_controller_send_interface.h" |
27 #include "webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h" | 21 #include "webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h" |
28 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" | 22 #include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" |
29 #include "webrtc/modules/congestion_controller/include/send_side_congestion_cont
roller.h" | 23 #include "webrtc/modules/congestion_controller/include/send_side_congestion_cont
roller.h" |
30 #include "webrtc/modules/pacing/paced_sender.h" | 24 #include "webrtc/modules/pacing/paced_sender.h" |
| 25 #include "webrtc/rtc_base/checks.h" |
| 26 #include "webrtc/rtc_base/event.h" |
| 27 #include "webrtc/rtc_base/function_view.h" |
| 28 #include "webrtc/rtc_base/logging.h" |
| 29 #include "webrtc/rtc_base/task_queue.h" |
| 30 #include "webrtc/rtc_base/timeutils.h" |
31 #include "webrtc/voice_engine/channel_proxy.h" | 31 #include "webrtc/voice_engine/channel_proxy.h" |
32 #include "webrtc/voice_engine/include/voe_base.h" | 32 #include "webrtc/voice_engine/include/voe_base.h" |
33 #include "webrtc/voice_engine/transmit_mixer.h" | 33 #include "webrtc/voice_engine/transmit_mixer.h" |
34 #include "webrtc/voice_engine/voice_engine_impl.h" | 34 #include "webrtc/voice_engine/voice_engine_impl.h" |
35 | 35 |
36 namespace webrtc { | 36 namespace webrtc { |
37 | 37 |
38 namespace internal { | 38 namespace internal { |
39 // TODO(eladalon): Subsequent CL will make these values experiment-dependent. | 39 // TODO(eladalon): Subsequent CL will make these values experiment-dependent. |
40 constexpr size_t kPacketLossTrackerMaxWindowSizeMs = 15000; | 40 constexpr size_t kPacketLossTrackerMaxWindowSizeMs = 15000; |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 if (rtp_rtcp_module_->RegisterSendPayload(codec) != 0) { | 607 if (rtp_rtcp_module_->RegisterSendPayload(codec) != 0) { |
608 LOG(LS_ERROR) << "RegisterCngPayloadType() failed to register CN to " | 608 LOG(LS_ERROR) << "RegisterCngPayloadType() failed to register CN to " |
609 "RTP/RTCP module"; | 609 "RTP/RTCP module"; |
610 } | 610 } |
611 } | 611 } |
612 } | 612 } |
613 | 613 |
614 | 614 |
615 } // namespace internal | 615 } // namespace internal |
616 } // namespace webrtc | 616 } // namespace webrtc |
OLD | NEW |