Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: webrtc/voice_engine/channel.h

Issue 2181383002: Add NACK rate throttling for audio channels. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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
(...skipping 18 matching lines...) Expand all
29 #include "webrtc/modules/utility/include/file_player.h" 29 #include "webrtc/modules/utility/include/file_player.h"
30 #include "webrtc/modules/utility/include/file_recorder.h" 30 #include "webrtc/modules/utility/include/file_recorder.h"
31 #include "webrtc/voice_engine/include/voe_audio_processing.h" 31 #include "webrtc/voice_engine/include/voe_audio_processing.h"
32 #include "webrtc/voice_engine/include/voe_network.h" 32 #include "webrtc/voice_engine/include/voe_network.h"
33 #include "webrtc/voice_engine/level_indicator.h" 33 #include "webrtc/voice_engine/level_indicator.h"
34 #include "webrtc/voice_engine/network_predictor.h" 34 #include "webrtc/voice_engine/network_predictor.h"
35 #include "webrtc/voice_engine/shared_data.h" 35 #include "webrtc/voice_engine/shared_data.h"
36 #include "webrtc/voice_engine/voice_engine_defines.h" 36 #include "webrtc/voice_engine/voice_engine_defines.h"
37 37
38 namespace rtc { 38 namespace rtc {
39
40 class TimestampWrapAroundHandler; 39 class TimestampWrapAroundHandler;
41 } 40 }
42 41
43 namespace webrtc { 42 namespace webrtc {
44 43
45 class AudioDeviceModule; 44 class AudioDeviceModule;
46 class Config; 45 class Config;
47 class FileWrapper; 46 class FileWrapper;
48 class PacketRouter; 47 class PacketRouter;
49 class ProcessThread; 48 class ProcessThread;
49 class RateLimiter;
50 class ReceiveStatistics; 50 class ReceiveStatistics;
51 class RemoteNtpTimeEstimator; 51 class RemoteNtpTimeEstimator;
52 class RtcEventLog; 52 class RtcEventLog;
53 class RTPPayloadRegistry; 53 class RTPPayloadRegistry;
54 class RtpReceiver; 54 class RtpReceiver;
55 class RTPReceiverAudio; 55 class RTPReceiverAudio;
56 class RtpRtcp; 56 class RtpRtcp;
57 class TelephoneEventHandler; 57 class TelephoneEventHandler;
58 class VoEMediaProcess; 58 class VoEMediaProcess;
59 class VoERTPObserver; 59 class VoERTPObserver;
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 std::unique_ptr<NetworkPredictor> network_predictor_; 581 std::unique_ptr<NetworkPredictor> network_predictor_;
582 // An associated send channel. 582 // An associated send channel.
583 rtc::CriticalSection assoc_send_channel_lock_; 583 rtc::CriticalSection assoc_send_channel_lock_;
584 ChannelOwner associate_send_channel_ GUARDED_BY(assoc_send_channel_lock_); 584 ChannelOwner associate_send_channel_ GUARDED_BY(assoc_send_channel_lock_);
585 585
586 bool pacing_enabled_; 586 bool pacing_enabled_;
587 PacketRouter* packet_router_ = nullptr; 587 PacketRouter* packet_router_ = nullptr;
588 std::unique_ptr<TransportFeedbackProxy> feedback_observer_proxy_; 588 std::unique_ptr<TransportFeedbackProxy> feedback_observer_proxy_;
589 std::unique_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_; 589 std::unique_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_;
590 std::unique_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; 590 std::unique_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_;
591 std::unique_ptr<RateLimiter> nack_rate_limiter_;
591 592
592 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. 593 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed.
593 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 594 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
594 }; 595 };
595 596
596 } // namespace voe 597 } // namespace voe
597 } // namespace webrtc 598 } // namespace webrtc
598 599
599 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 600 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698