webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
webrtc::NetEqImpl Class Reference

#include <neteq_impl.h>

Inheritance diagram for webrtc::NetEqImpl:
webrtc::NetEq webrtc::NetEq

Classes

struct  Dependencies
 

Public Types

enum  OutputType {
  OutputType::kNormalSpeech, OutputType::kPLC, OutputType::kCNG, OutputType::kPLCCNG,
  OutputType::kVadPassive, OutputType::kNormalSpeech, OutputType::kPLC, OutputType::kCNG,
  OutputType::kPLCCNG, OutputType::kVadPassive
}
 
enum  OutputType {
  OutputType::kNormalSpeech, OutputType::kPLC, OutputType::kCNG, OutputType::kPLCCNG,
  OutputType::kVadPassive, OutputType::kNormalSpeech, OutputType::kPLC, OutputType::kCNG,
  OutputType::kPLCCNG, OutputType::kVadPassive
}
 
- Public Types inherited from webrtc::NetEq
enum  BackgroundNoiseMode {
  kBgnOn, kBgnFade, kBgnOff, kBgnOn,
  kBgnFade, kBgnOff
}
 
enum  ReturnCodes {
  kOK = 0, kFail = -1, kNotImplemented = -2, kOK = 0,
  kFail = -1, kNotImplemented = -2
}
 
enum  ErrorCodes {
  kNoError = 0, kOtherError, kInvalidRtpPayloadType, kUnknownRtpPayloadType,
  kCodecNotSupported, kDecoderExists, kDecoderNotFound, kInvalidSampleRate,
  kInvalidPointer, kAccelerateError, kPreemptiveExpandError, kComfortNoiseErrorCode,
  kDecoderErrorCode, kOtherDecoderError, kInvalidOperation, kDtmfParameterError,
  kDtmfParsingError, kDtmfInsertError, kStereoNotSupported, kSampleUnderrun,
  kDecodedTooMuch, kRedundancySplitError, kPacketBufferCorruption, kNoError = 0,
  kOtherError, kInvalidRtpPayloadType, kUnknownRtpPayloadType, kCodecNotSupported,
  kDecoderExists, kDecoderNotFound, kInvalidSampleRate, kInvalidPointer,
  kAccelerateError, kPreemptiveExpandError, kComfortNoiseErrorCode, kDecoderErrorCode,
  kOtherDecoderError, kInvalidOperation, kDtmfParameterError, kDtmfParsingError,
  kDtmfInsertError, kStereoNotSupported, kSampleUnderrun, kDecodedTooMuch,
  kRedundancySplitError, kPacketBufferCorruption
}
 
enum  BackgroundNoiseMode {
  kBgnOn, kBgnFade, kBgnOff, kBgnOn,
  kBgnFade, kBgnOff
}
 
enum  ReturnCodes {
  kOK = 0, kFail = -1, kNotImplemented = -2, kOK = 0,
  kFail = -1, kNotImplemented = -2
}
 
enum  ErrorCodes {
  kNoError = 0, kOtherError, kInvalidRtpPayloadType, kUnknownRtpPayloadType,
  kCodecNotSupported, kDecoderExists, kDecoderNotFound, kInvalidSampleRate,
  kInvalidPointer, kAccelerateError, kPreemptiveExpandError, kComfortNoiseErrorCode,
  kDecoderErrorCode, kOtherDecoderError, kInvalidOperation, kDtmfParameterError,
  kDtmfParsingError, kDtmfInsertError, kStereoNotSupported, kSampleUnderrun,
  kDecodedTooMuch, kRedundancySplitError, kPacketBufferCorruption, kNoError = 0,
  kOtherError, kInvalidRtpPayloadType, kUnknownRtpPayloadType, kCodecNotSupported,
  kDecoderExists, kDecoderNotFound, kInvalidSampleRate, kInvalidPointer,
  kAccelerateError, kPreemptiveExpandError, kComfortNoiseErrorCode, kDecoderErrorCode,
  kOtherDecoderError, kInvalidOperation, kDtmfParameterError, kDtmfParsingError,
  kDtmfInsertError, kStereoNotSupported, kSampleUnderrun, kDecodedTooMuch,
  kRedundancySplitError, kPacketBufferCorruption
}
 

Public Member Functions

 NetEqImpl (const NetEq::Config &config, Dependencies &&deps, bool create_components=true)
 
 ~NetEqImpl () override
 
int InsertPacket (const WebRtcRTPHeader &rtp_header, rtc::ArrayView< const uint8_t > payload, uint32_t receive_timestamp) override
 
int GetAudio (AudioFrame *audio_frame, bool *muted) override
 
int RegisterPayloadType (NetEqDecoder codec, const std::string &codec_name, uint8_t rtp_payload_type) override
 
int RegisterExternalDecoder (AudioDecoder *decoder, NetEqDecoder codec, const std::string &codec_name, uint8_t rtp_payload_type) override
 
bool RegisterPayloadType (int rtp_payload_type, const SdpAudioFormat &audio_format) override
 
int RemovePayloadType (uint8_t rtp_payload_type) override
 
void RemoveAllPayloadTypes () override
 
bool SetMinimumDelay (int delay_ms) override
 
bool SetMaximumDelay (int delay_ms) override
 
int LeastRequiredDelayMs () const override
 
int SetTargetDelay () override
 
int TargetDelay () override
 
int CurrentDelayMs () const override
 
int FilteredCurrentDelayMs () const override
 
void SetPlayoutMode (NetEqPlayoutMode mode) override
 
NetEqPlayoutMode PlayoutMode () const override
 
int NetworkStatistics (NetEqNetworkStatistics *stats) override
 
void GetRtcpStatistics (RtcpStatistics *stats) override
 
void GetRtcpStatisticsNoReset (RtcpStatistics *stats) override
 
void EnableVad () override
 
void DisableVad () override
 
rtc::Optional< uint32_tGetPlayoutTimestamp () const override
 
int last_output_sample_rate_hz () const override
 
rtc::Optional< CodecInstGetDecoder (int payload_type) const override
 
rtc::Optional< SdpAudioFormatGetDecoderFormat (int payload_type) const override
 
int SetTargetNumberOfChannels () override
 
int SetTargetSampleRate () override
 
int LastError () const override
 
int LastDecoderError () override
 
void FlushBuffers () override
 
void PacketBufferStatistics (int *current_num_packets, int *max_num_packets) const override
 
void EnableNack (size_t max_nack_list_size) override
 
void DisableNack () override
 
std::vector< uint16_tGetNackList (int64_t round_trip_time_ms) const override
 
const SyncBuffersync_buffer_for_test () const
 
Operations last_operation_for_test () const
 
 NetEqImpl (const NetEq::Config &config, Dependencies &&deps, bool create_components=true)
 
 ~NetEqImpl () override
 
int InsertPacket (const WebRtcRTPHeader &rtp_header, rtc::ArrayView< const uint8_t > payload, uint32_t receive_timestamp) override
 
int GetAudio (AudioFrame *audio_frame, bool *muted) override
 
int RegisterPayloadType (NetEqDecoder codec, const std::string &codec_name, uint8_t rtp_payload_type) override
 
int RegisterExternalDecoder (AudioDecoder *decoder, NetEqDecoder codec, const std::string &codec_name, uint8_t rtp_payload_type) override
 
bool RegisterPayloadType (int rtp_payload_type, const SdpAudioFormat &audio_format) override
 
int RemovePayloadType (uint8_t rtp_payload_type) override
 
void RemoveAllPayloadTypes () override
 
bool SetMinimumDelay (int delay_ms) override
 
bool SetMaximumDelay (int delay_ms) override
 
int LeastRequiredDelayMs () const override
 
int SetTargetDelay () override
 
int TargetDelay () override
 
int CurrentDelayMs () const override
 
int FilteredCurrentDelayMs () const override
 
void SetPlayoutMode (NetEqPlayoutMode mode) override
 
NetEqPlayoutMode PlayoutMode () const override
 
int NetworkStatistics (NetEqNetworkStatistics *stats) override
 
void GetRtcpStatistics (RtcpStatistics *stats) override
 
void GetRtcpStatisticsNoReset (RtcpStatistics *stats) override
 
void EnableVad () override
 
void DisableVad () override
 
rtc::Optional< uint32_tGetPlayoutTimestamp () const override
 
int last_output_sample_rate_hz () const override
 
rtc::Optional< CodecInstGetDecoder (int payload_type) const override
 
rtc::Optional< SdpAudioFormatGetDecoderFormat (int payload_type) const override
 
int SetTargetNumberOfChannels () override
 
int SetTargetSampleRate () override
 
int LastError () const override
 
int LastDecoderError () override
 
void FlushBuffers () override
 
void PacketBufferStatistics (int *current_num_packets, int *max_num_packets) const override
 
void EnableNack (size_t max_nack_list_size) override
 
void DisableNack () override
 
std::vector< uint16_tGetNackList (int64_t round_trip_time_ms) const override
 
const SyncBuffersync_buffer_for_test () const
 
Operations last_operation_for_test () const
 
- Public Member Functions inherited from webrtc::NetEq
virtual ~NetEq ()
 
virtual ~NetEq ()
 

Protected Member Functions

int InsertPacketInternal (const WebRtcRTPHeader &rtp_header, rtc::ArrayView< const uint8_t > payload, uint32_t receive_timestamp) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int GetAudioInternal (AudioFrame *audio_frame, bool *muted) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int GetDecision (Operations *operation, PacketList *packet_list, DtmfEvent *dtmf_event, bool *play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int Decode (PacketList *packet_list, Operations *operation, int *decoded_length, AudioDecoder::SpeechType *speech_type) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DecodeCng (AudioDecoder *decoder, int *decoded_length, AudioDecoder::SpeechType *speech_type) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DecodeLoop (PacketList *packet_list, const Operations &operation, AudioDecoder *decoder, int *decoded_length, AudioDecoder::SpeechType *speech_type) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
void DoNormal (const int16_t *decoded_buffer, size_t decoded_length, AudioDecoder::SpeechType speech_type, bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
void DoMerge (int16_t *decoded_buffer, size_t decoded_length, AudioDecoder::SpeechType speech_type, bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DoExpand (bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DoAccelerate (int16_t *decoded_buffer, size_t decoded_length, AudioDecoder::SpeechType speech_type, bool play_dtmf, bool fast_accelerate) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DoPreemptiveExpand (int16_t *decoded_buffer, size_t decoded_length, AudioDecoder::SpeechType speech_type, bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DoRfc3389Cng (PacketList *packet_list, bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
void DoCodecInternalCng (const int16_t *decoded_buffer, size_t decoded_length) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DoDtmf (const DtmfEvent &dtmf_event, bool *play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
void DoAlternativePlc (bool increase_timestamp) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DtmfOverdub (const DtmfEvent &dtmf_event, size_t num_channels, int16_t *output) const EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int ExtractPackets (size_t required_samples, PacketList *packet_list) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
void SetSampleRateAndChannels (int fs_hz, size_t channels) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
OutputType LastOutputType () EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
virtual void UpdatePlcComponents (int fs_hz, size_t channels) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
virtual void CreateDecisionLogic () EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
const std::unique_ptr< TickTimer > tick_timer_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< BufferLevelFilter > buffer_level_filter_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< DecoderDatabase > decoder_database_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< DelayManager > delay_manager_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< DelayPeakDetector > delay_peak_detector_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< DtmfBuffer > dtmf_buffer_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< DtmfToneGenerator > dtmf_tone_generator_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< PacketBuffer > packet_buffer_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< RedPayloadSplitter > red_payload_splitter_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< TimestampScaler > timestamp_scaler_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< PostDecodeVad > vad_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< ExpandFactory > expand_factory_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< AccelerateFactory > accelerate_factory_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< PreemptiveExpandFactory > preemptive_expand_factory_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< BackgroundNoise > background_noise_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< DecisionLogic > decision_logic_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< AudioMultiVector > algorithm_buffer_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< SyncBuffer > sync_buffer_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< Expand > expand_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< Normal > normal_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< Merge > merge_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< Accelerate > accelerate_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< PreemptiveExpand > preemptive_expand_ GUARDED_BY (crit_sect_)
 
RandomVector random_vector_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< ComfortNoise > comfort_noise_ GUARDED_BY (crit_sect_)
 
Rtcp rtcp_ GUARDED_BY (crit_sect_)
 
StatisticsCalculator stats_ GUARDED_BY (crit_sect_)
 
int fs_hz_ GUARDED_BY (crit_sect_)
 
int fs_mult_ GUARDED_BY (crit_sect_)
 
int last_output_sample_rate_hz_ GUARDED_BY (crit_sect_)
 
size_t output_size_samples_ GUARDED_BY (crit_sect_)
 
size_t decoder_frame_length_ GUARDED_BY (crit_sect_)
 
Modes last_mode_ GUARDED_BY (crit_sect_)
 
Operations last_operation_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< int16_t[]> mute_factor_array_ GUARDED_BY (crit_sect_)
 
size_t decoded_buffer_length_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< int16_t[]> decoded_buffer_ GUARDED_BY (crit_sect_)
 
uint32_t playout_timestamp_ GUARDED_BY (crit_sect_)
 
bool new_codec_ GUARDED_BY (crit_sect_)
 
uint32_t timestamp_ GUARDED_BY (crit_sect_)
 
bool reset_decoder_ GUARDED_BY (crit_sect_)
 
rtc::Optional< uint8_t > current_rtp_payload_type_ GUARDED_BY (crit_sect_)
 
rtc::Optional< uint8_t > current_cng_rtp_payload_type_ GUARDED_BY (crit_sect_)
 
uint32_t ssrc_ GUARDED_BY (crit_sect_)
 
bool first_packet_ GUARDED_BY (crit_sect_)
 
int error_code_ GUARDED_BY (crit_sect_)
 
int decoder_error_code_ GUARDED_BY (crit_sect_)
 
const BackgroundNoiseMode background_noise_mode_ GUARDED_BY (crit_sect_)
 
NetEqPlayoutMode playout_mode_ GUARDED_BY (crit_sect_)
 
bool enable_fast_accelerate_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< NackTracker > nack_ GUARDED_BY (crit_sect_)
 
bool nack_enabled_ GUARDED_BY (crit_sect_)
 
const bool enable_muted_state_ GUARDED_BY (crit_sect_)
 
int InsertPacketInternal (const WebRtcRTPHeader &rtp_header, rtc::ArrayView< const uint8_t > payload, uint32_t receive_timestamp) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int GetAudioInternal (AudioFrame *audio_frame, bool *muted) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int GetDecision (Operations *operation, PacketList *packet_list, DtmfEvent *dtmf_event, bool *play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int Decode (PacketList *packet_list, Operations *operation, int *decoded_length, AudioDecoder::SpeechType *speech_type) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DecodeCng (AudioDecoder *decoder, int *decoded_length, AudioDecoder::SpeechType *speech_type) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DecodeLoop (PacketList *packet_list, const Operations &operation, AudioDecoder *decoder, int *decoded_length, AudioDecoder::SpeechType *speech_type) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
void DoNormal (const int16_t *decoded_buffer, size_t decoded_length, AudioDecoder::SpeechType speech_type, bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
void DoMerge (int16_t *decoded_buffer, size_t decoded_length, AudioDecoder::SpeechType speech_type, bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DoExpand (bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DoAccelerate (int16_t *decoded_buffer, size_t decoded_length, AudioDecoder::SpeechType speech_type, bool play_dtmf, bool fast_accelerate) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DoPreemptiveExpand (int16_t *decoded_buffer, size_t decoded_length, AudioDecoder::SpeechType speech_type, bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DoRfc3389Cng (PacketList *packet_list, bool play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
void DoCodecInternalCng (const int16_t *decoded_buffer, size_t decoded_length) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DoDtmf (const DtmfEvent &dtmf_event, bool *play_dtmf) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
void DoAlternativePlc (bool increase_timestamp) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int DtmfOverdub (const DtmfEvent &dtmf_event, size_t num_channels, int16_t *output) const EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
int ExtractPackets (size_t required_samples, PacketList *packet_list) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
void SetSampleRateAndChannels (int fs_hz, size_t channels) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
OutputType LastOutputType () EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
virtual void UpdatePlcComponents (int fs_hz, size_t channels) EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
virtual void CreateDecisionLogic () EXCLUSIVE_LOCKS_REQUIRED(crit_sect_)
 
const std::unique_ptr< TickTimer > tick_timer_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< BufferLevelFilter > buffer_level_filter_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< DecoderDatabase > decoder_database_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< DelayManager > delay_manager_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< DelayPeakDetector > delay_peak_detector_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< DtmfBuffer > dtmf_buffer_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< DtmfToneGenerator > dtmf_tone_generator_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< PacketBuffer > packet_buffer_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< RedPayloadSplitter > red_payload_splitter_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< TimestampScaler > timestamp_scaler_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< PostDecodeVad > vad_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< ExpandFactory > expand_factory_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< AccelerateFactory > accelerate_factory_ GUARDED_BY (crit_sect_)
 
const std::unique_ptr< PreemptiveExpandFactory > preemptive_expand_factory_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< BackgroundNoise > background_noise_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< DecisionLogic > decision_logic_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< AudioMultiVector > algorithm_buffer_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< SyncBuffer > sync_buffer_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< Expand > expand_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< Normal > normal_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< Merge > merge_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< Accelerate > accelerate_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< PreemptiveExpand > preemptive_expand_ GUARDED_BY (crit_sect_)
 
RandomVector random_vector_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< ComfortNoise > comfort_noise_ GUARDED_BY (crit_sect_)
 
Rtcp rtcp_ GUARDED_BY (crit_sect_)
 
StatisticsCalculator stats_ GUARDED_BY (crit_sect_)
 
int fs_hz_ GUARDED_BY (crit_sect_)
 
int fs_mult_ GUARDED_BY (crit_sect_)
 
int last_output_sample_rate_hz_ GUARDED_BY (crit_sect_)
 
size_t output_size_samples_ GUARDED_BY (crit_sect_)
 
size_t decoder_frame_length_ GUARDED_BY (crit_sect_)
 
Modes last_mode_ GUARDED_BY (crit_sect_)
 
Operations last_operation_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< int16_t[]> mute_factor_array_ GUARDED_BY (crit_sect_)
 
size_t decoded_buffer_length_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< int16_t[]> decoded_buffer_ GUARDED_BY (crit_sect_)
 
uint32_t playout_timestamp_ GUARDED_BY (crit_sect_)
 
bool new_codec_ GUARDED_BY (crit_sect_)
 
uint32_t timestamp_ GUARDED_BY (crit_sect_)
 
bool reset_decoder_ GUARDED_BY (crit_sect_)
 
rtc::Optional< uint8_t > current_rtp_payload_type_ GUARDED_BY (crit_sect_)
 
rtc::Optional< uint8_t > current_cng_rtp_payload_type_ GUARDED_BY (crit_sect_)
 
uint32_t ssrc_ GUARDED_BY (crit_sect_)
 
bool first_packet_ GUARDED_BY (crit_sect_)
 
int error_code_ GUARDED_BY (crit_sect_)
 
int decoder_error_code_ GUARDED_BY (crit_sect_)
 
const BackgroundNoiseMode background_noise_mode_ GUARDED_BY (crit_sect_)
 
NetEqPlayoutMode playout_mode_ GUARDED_BY (crit_sect_)
 
bool enable_fast_accelerate_ GUARDED_BY (crit_sect_)
 
std::unique_ptr< NackTracker > nack_ GUARDED_BY (crit_sect_)
 
bool nack_enabled_ GUARDED_BY (crit_sect_)
 
const bool enable_muted_state_ GUARDED_BY (crit_sect_)
 
- Protected Member Functions inherited from webrtc::NetEq
 NetEq ()
 
 NetEq ()
 

Protected Attributes

rtc::CriticalSection crit_sect_
 

Static Protected Attributes

static const int kOutputSizeMs = 10
 
static const size_t kMaxFrameSize = 5760
 
static const size_t kSyncBufferSize = kMaxFrameSize + 60 * 48
 

Additional Inherited Members

- Static Public Member Functions inherited from webrtc::NetEq
static NetEqCreate (const NetEq::Config &config, const rtc::scoped_refptr< AudioDecoderFactory > &decoder_factory)
 
static NetEqCreate (const NetEq::Config &config, const rtc::scoped_refptr< AudioDecoderFactory > &decoder_factory)
 

Member Enumeration Documentation

◆ OutputType [1/2]

Enumerator
kNormalSpeech 
kPLC 
kCNG 
kPLCCNG 
kVadPassive 
kNormalSpeech 
kPLC 
kCNG 
kPLCCNG 
kVadPassive 

◆ OutputType [2/2]

Enumerator
kNormalSpeech 
kPLC 
kCNG 
kPLCCNG 
kVadPassive 
kNormalSpeech 
kPLC 
kCNG 
kPLCCNG 
kVadPassive 

Constructor & Destructor Documentation

◆ NetEqImpl() [1/2]

webrtc::NetEqImpl::NetEqImpl ( const NetEq::Config config,
Dependencies &&  deps,
bool  create_components = true 
)

◆ ~NetEqImpl() [1/2]

webrtc::NetEqImpl::~NetEqImpl ( )
overridedefault

◆ NetEqImpl() [2/2]

webrtc::NetEqImpl::NetEqImpl ( const NetEq::Config config,
Dependencies &&  deps,
bool  create_components = true 
)

◆ ~NetEqImpl() [2/2]

webrtc::NetEqImpl::~NetEqImpl ( )
override

Member Function Documentation

◆ CreateDecisionLogic() [1/2]

void webrtc::NetEqImpl::CreateDecisionLogic ( )
protectedvirtual

◆ CreateDecisionLogic() [2/2]

virtual void webrtc::NetEqImpl::CreateDecisionLogic ( )
protectedvirtual

◆ CurrentDelayMs() [1/2]

int webrtc::NetEqImpl::CurrentDelayMs ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ CurrentDelayMs() [2/2]

int webrtc::NetEqImpl::CurrentDelayMs ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ Decode() [1/2]

int webrtc::NetEqImpl::Decode ( PacketList packet_list,
Operations operation,
int *  decoded_length,
AudioDecoder::SpeechType speech_type 
)
protected

◆ Decode() [2/2]

int webrtc::NetEqImpl::Decode ( PacketList packet_list,
Operations operation,
int *  decoded_length,
AudioDecoder::SpeechType speech_type 
)
protected

◆ DecodeCng() [1/2]

int webrtc::NetEqImpl::DecodeCng ( AudioDecoder decoder,
int *  decoded_length,
AudioDecoder::SpeechType speech_type 
)
protected

◆ DecodeCng() [2/2]

int webrtc::NetEqImpl::DecodeCng ( AudioDecoder decoder,
int *  decoded_length,
AudioDecoder::SpeechType speech_type 
)
protected

◆ DecodeLoop() [1/2]

int webrtc::NetEqImpl::DecodeLoop ( PacketList packet_list,
const Operations operation,
AudioDecoder decoder,
int *  decoded_length,
AudioDecoder::SpeechType speech_type 
)
protected

◆ DecodeLoop() [2/2]

int webrtc::NetEqImpl::DecodeLoop ( PacketList packet_list,
const Operations operation,
AudioDecoder decoder,
int *  decoded_length,
AudioDecoder::SpeechType speech_type 
)
protected

◆ DisableNack() [1/2]

void webrtc::NetEqImpl::DisableNack ( )
overridevirtual

Implements webrtc::NetEq.

◆ DisableNack() [2/2]

void webrtc::NetEqImpl::DisableNack ( )
overridevirtual

Implements webrtc::NetEq.

◆ DisableVad() [1/2]

void webrtc::NetEqImpl::DisableVad ( )
overridevirtual

Implements webrtc::NetEq.

◆ DisableVad() [2/2]

void webrtc::NetEqImpl::DisableVad ( )
overridevirtual

Implements webrtc::NetEq.

◆ DoAccelerate() [1/2]

int webrtc::NetEqImpl::DoAccelerate ( int16_t decoded_buffer,
size_t  decoded_length,
AudioDecoder::SpeechType  speech_type,
bool  play_dtmf,
bool  fast_accelerate 
)
protected

◆ DoAccelerate() [2/2]

int webrtc::NetEqImpl::DoAccelerate ( int16_t decoded_buffer,
size_t  decoded_length,
AudioDecoder::SpeechType  speech_type,
bool  play_dtmf,
bool  fast_accelerate 
)
protected

◆ DoAlternativePlc() [1/2]

void webrtc::NetEqImpl::DoAlternativePlc ( bool  increase_timestamp)
protected

◆ DoAlternativePlc() [2/2]

void webrtc::NetEqImpl::DoAlternativePlc ( bool  increase_timestamp)
protected

◆ DoCodecInternalCng() [1/2]

void webrtc::NetEqImpl::DoCodecInternalCng ( const int16_t decoded_buffer,
size_t  decoded_length 
)
protected

◆ DoCodecInternalCng() [2/2]

void webrtc::NetEqImpl::DoCodecInternalCng ( const int16_t decoded_buffer,
size_t  decoded_length 
)
protected

◆ DoDtmf() [1/2]

int webrtc::NetEqImpl::DoDtmf ( const DtmfEvent dtmf_event,
bool *  play_dtmf 
)
protected

◆ DoDtmf() [2/2]

int webrtc::NetEqImpl::DoDtmf ( const DtmfEvent dtmf_event,
bool *  play_dtmf 
)
protected

◆ DoExpand() [1/2]

int webrtc::NetEqImpl::DoExpand ( bool  play_dtmf)
protected

◆ DoExpand() [2/2]

int webrtc::NetEqImpl::DoExpand ( bool  play_dtmf)
protected

◆ DoMerge() [1/2]

void webrtc::NetEqImpl::DoMerge ( int16_t decoded_buffer,
size_t  decoded_length,
AudioDecoder::SpeechType  speech_type,
bool  play_dtmf 
)
protected

◆ DoMerge() [2/2]

void webrtc::NetEqImpl::DoMerge ( int16_t decoded_buffer,
size_t  decoded_length,
AudioDecoder::SpeechType  speech_type,
bool  play_dtmf 
)
protected

◆ DoNormal() [1/2]

void webrtc::NetEqImpl::DoNormal ( const int16_t decoded_buffer,
size_t  decoded_length,
AudioDecoder::SpeechType  speech_type,
bool  play_dtmf 
)
protected

◆ DoNormal() [2/2]

void webrtc::NetEqImpl::DoNormal ( const int16_t decoded_buffer,
size_t  decoded_length,
AudioDecoder::SpeechType  speech_type,
bool  play_dtmf 
)
protected

◆ DoPreemptiveExpand() [1/2]

int webrtc::NetEqImpl::DoPreemptiveExpand ( int16_t decoded_buffer,
size_t  decoded_length,
AudioDecoder::SpeechType  speech_type,
bool  play_dtmf 
)
protected

◆ DoPreemptiveExpand() [2/2]

int webrtc::NetEqImpl::DoPreemptiveExpand ( int16_t decoded_buffer,
size_t  decoded_length,
AudioDecoder::SpeechType  speech_type,
bool  play_dtmf 
)
protected

◆ DoRfc3389Cng() [1/2]

int webrtc::NetEqImpl::DoRfc3389Cng ( PacketList packet_list,
bool  play_dtmf 
)
protected

◆ DoRfc3389Cng() [2/2]

int webrtc::NetEqImpl::DoRfc3389Cng ( PacketList packet_list,
bool  play_dtmf 
)
protected

◆ DtmfOverdub() [1/2]

int webrtc::NetEqImpl::DtmfOverdub ( const DtmfEvent dtmf_event,
size_t  num_channels,
int16_t output 
) const
protected

◆ DtmfOverdub() [2/2]

int webrtc::NetEqImpl::DtmfOverdub ( const DtmfEvent dtmf_event,
size_t  num_channels,
int16_t output 
) const
protected

◆ EnableNack() [1/2]

void webrtc::NetEqImpl::EnableNack ( size_t  max_nack_list_size)
overridevirtual

Implements webrtc::NetEq.

◆ EnableNack() [2/2]

void webrtc::NetEqImpl::EnableNack ( size_t  max_nack_list_size)
overridevirtual

Implements webrtc::NetEq.

◆ EnableVad() [1/2]

void webrtc::NetEqImpl::EnableVad ( )
overridevirtual

Implements webrtc::NetEq.

◆ EnableVad() [2/2]

void webrtc::NetEqImpl::EnableVad ( )
overridevirtual

Implements webrtc::NetEq.

◆ ExtractPackets() [1/2]

int webrtc::NetEqImpl::ExtractPackets ( size_t  required_samples,
PacketList packet_list 
)
protected

◆ ExtractPackets() [2/2]

int webrtc::NetEqImpl::ExtractPackets ( size_t  required_samples,
PacketList packet_list 
)
protected

◆ FilteredCurrentDelayMs() [1/2]

int webrtc::NetEqImpl::FilteredCurrentDelayMs ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ FilteredCurrentDelayMs() [2/2]

int webrtc::NetEqImpl::FilteredCurrentDelayMs ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ FlushBuffers() [1/2]

void webrtc::NetEqImpl::FlushBuffers ( )
overridevirtual

Implements webrtc::NetEq.

◆ FlushBuffers() [2/2]

void webrtc::NetEqImpl::FlushBuffers ( )
overridevirtual

Implements webrtc::NetEq.

◆ GetAudio() [1/2]

int webrtc::NetEqImpl::GetAudio ( AudioFrame audio_frame,
bool *  muted 
)
overridevirtual

Implements webrtc::NetEq.

◆ GetAudio() [2/2]

int webrtc::NetEqImpl::GetAudio ( AudioFrame audio_frame,
bool *  muted 
)
overridevirtual

Implements webrtc::NetEq.

◆ GetAudioInternal() [1/2]

int webrtc::NetEqImpl::GetAudioInternal ( AudioFrame audio_frame,
bool *  muted 
)
protected

◆ GetAudioInternal() [2/2]

int webrtc::NetEqImpl::GetAudioInternal ( AudioFrame audio_frame,
bool *  muted 
)
protected

◆ GetDecision() [1/2]

int webrtc::NetEqImpl::GetDecision ( Operations operation,
PacketList packet_list,
DtmfEvent dtmf_event,
bool *  play_dtmf 
)
protected

◆ GetDecision() [2/2]

int webrtc::NetEqImpl::GetDecision ( Operations operation,
PacketList packet_list,
DtmfEvent dtmf_event,
bool *  play_dtmf 
)
protected

◆ GetDecoder() [1/2]

rtc::Optional<CodecInst> webrtc::NetEqImpl::GetDecoder ( int  payload_type) const
overridevirtual

Implements webrtc::NetEq.

◆ GetDecoder() [2/2]

rtc::Optional< CodecInst > webrtc::NetEqImpl::GetDecoder ( int  payload_type) const
overridevirtual

Implements webrtc::NetEq.

◆ GetDecoderFormat() [1/2]

rtc::Optional<SdpAudioFormat> webrtc::NetEqImpl::GetDecoderFormat ( int  payload_type) const
overridevirtual

Implements webrtc::NetEq.

◆ GetDecoderFormat() [2/2]

rtc::Optional< SdpAudioFormat > webrtc::NetEqImpl::GetDecoderFormat ( int  payload_type) const
overridevirtual

Implements webrtc::NetEq.

◆ GetNackList() [1/2]

std::vector< uint16_t > webrtc::NetEqImpl::GetNackList ( int64_t  round_trip_time_ms) const
overridevirtual

Implements webrtc::NetEq.

◆ GetNackList() [2/2]

std::vector<uint16_t> webrtc::NetEqImpl::GetNackList ( int64_t  round_trip_time_ms) const
overridevirtual

Implements webrtc::NetEq.

◆ GetPlayoutTimestamp() [1/2]

rtc::Optional<uint32_t> webrtc::NetEqImpl::GetPlayoutTimestamp ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ GetPlayoutTimestamp() [2/2]

rtc::Optional< uint32_t > webrtc::NetEqImpl::GetPlayoutTimestamp ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ GetRtcpStatistics() [1/2]

void webrtc::NetEqImpl::GetRtcpStatistics ( RtcpStatistics stats)
overridevirtual

Implements webrtc::NetEq.

◆ GetRtcpStatistics() [2/2]

void webrtc::NetEqImpl::GetRtcpStatistics ( RtcpStatistics stats)
overridevirtual

Implements webrtc::NetEq.

◆ GetRtcpStatisticsNoReset() [1/2]

void webrtc::NetEqImpl::GetRtcpStatisticsNoReset ( RtcpStatistics stats)
overridevirtual

Implements webrtc::NetEq.

◆ GetRtcpStatisticsNoReset() [2/2]

void webrtc::NetEqImpl::GetRtcpStatisticsNoReset ( RtcpStatistics stats)
overridevirtual

Implements webrtc::NetEq.

◆ GUARDED_BY() [1/106]

const std::unique_ptr<TickTimer> tick_timer_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [2/106]

const std::unique_ptr<TickTimer> tick_timer_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [3/106]

const std::unique_ptr<BufferLevelFilter> buffer_level_filter_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [4/106]

const std::unique_ptr<BufferLevelFilter> buffer_level_filter_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [5/106]

const std::unique_ptr<DecoderDatabase> decoder_database_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [6/106]

const std::unique_ptr<DecoderDatabase> decoder_database_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [7/106]

const std::unique_ptr<DelayManager> delay_manager_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [8/106]

const std::unique_ptr<DelayManager> delay_manager_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [9/106]

const std::unique_ptr<DelayPeakDetector> delay_peak_detector_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [10/106]

const std::unique_ptr<DelayPeakDetector> delay_peak_detector_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [11/106]

const std::unique_ptr<DtmfBuffer> dtmf_buffer_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [12/106]

const std::unique_ptr<DtmfBuffer> dtmf_buffer_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [13/106]

const std::unique_ptr<DtmfToneGenerator> dtmf_tone_generator_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [14/106]

const std::unique_ptr<DtmfToneGenerator> dtmf_tone_generator_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [15/106]

const std::unique_ptr<PacketBuffer> packet_buffer_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [16/106]

const std::unique_ptr<PacketBuffer> packet_buffer_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [17/106]

const std::unique_ptr<RedPayloadSplitter> red_payload_splitter_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [18/106]

const std::unique_ptr<RedPayloadSplitter> red_payload_splitter_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [19/106]

const std::unique_ptr<TimestampScaler> timestamp_scaler_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [20/106]

const std::unique_ptr<TimestampScaler> timestamp_scaler_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [21/106]

const std::unique_ptr<PostDecodeVad> vad_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [22/106]

const std::unique_ptr<PostDecodeVad> vad_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [23/106]

const std::unique_ptr<ExpandFactory> expand_factory_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [24/106]

const std::unique_ptr<ExpandFactory> expand_factory_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [25/106]

const std::unique_ptr<AccelerateFactory> accelerate_factory_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [26/106]

const std::unique_ptr<AccelerateFactory> accelerate_factory_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [27/106]

const std::unique_ptr<PreemptiveExpandFactory> preemptive_expand_factory_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [28/106]

const std::unique_ptr<PreemptiveExpandFactory> preemptive_expand_factory_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [29/106]

std::unique_ptr<BackgroundNoise> background_noise_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [30/106]

std::unique_ptr<BackgroundNoise> background_noise_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [31/106]

std::unique_ptr<DecisionLogic> decision_logic_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [32/106]

std::unique_ptr<DecisionLogic> decision_logic_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [33/106]

std::unique_ptr<AudioMultiVector> algorithm_buffer_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [34/106]

std::unique_ptr<AudioMultiVector> algorithm_buffer_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [35/106]

std::unique_ptr<SyncBuffer> sync_buffer_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [36/106]

std::unique_ptr<SyncBuffer> sync_buffer_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [37/106]

std::unique_ptr<Expand> expand_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [38/106]

std::unique_ptr<Expand> expand_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [39/106]

std::unique_ptr<Normal> normal_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [40/106]

std::unique_ptr<Normal> normal_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [41/106]

std::unique_ptr<Merge> merge_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [42/106]

std::unique_ptr<Merge> merge_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [43/106]

std::unique_ptr<Accelerate> accelerate_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [44/106]

std::unique_ptr<Accelerate> accelerate_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [45/106]

std::unique_ptr<PreemptiveExpand> preemptive_expand_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [46/106]

std::unique_ptr<PreemptiveExpand> preemptive_expand_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [47/106]

RandomVector random_vector_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [48/106]

RandomVector random_vector_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [49/106]

std::unique_ptr<ComfortNoise> comfort_noise_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [50/106]

std::unique_ptr<ComfortNoise> comfort_noise_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [51/106]

Rtcp rtcp_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [52/106]

Rtcp rtcp_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [53/106]

StatisticsCalculator stats_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [54/106]

StatisticsCalculator stats_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [55/106]

int fs_hz_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [56/106]

int fs_hz_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [57/106]

int fs_mult_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [58/106]

int fs_mult_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [59/106]

int last_output_sample_rate_hz_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [60/106]

int last_output_sample_rate_hz_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [61/106]

size_t output_size_samples_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [62/106]

size_t output_size_samples_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [63/106]

size_t decoder_frame_length_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [64/106]

size_t decoder_frame_length_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [65/106]

Modes last_mode_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [66/106]

Modes last_mode_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [67/106]

Operations last_operation_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [68/106]

Operations last_operation_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [69/106]

std::unique_ptr<int16_t[]> mute_factor_array_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [70/106]

std::unique_ptr<int16_t[]> mute_factor_array_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [71/106]

size_t decoded_buffer_length_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [72/106]

size_t decoded_buffer_length_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [73/106]

std::unique_ptr<int16_t[]> decoded_buffer_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [74/106]

std::unique_ptr<int16_t[]> decoded_buffer_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [75/106]

uint32_t playout_timestamp_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [76/106]

uint32_t playout_timestamp_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [77/106]

bool new_codec_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [78/106]

bool new_codec_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [79/106]

uint32_t timestamp_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [80/106]

uint32_t timestamp_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [81/106]

bool reset_decoder_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [82/106]

bool reset_decoder_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [83/106]

rtc::Optional<uint8_t> current_rtp_payload_type_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [84/106]

rtc::Optional<uint8_t> current_rtp_payload_type_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [85/106]

rtc::Optional<uint8_t> current_cng_rtp_payload_type_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [86/106]

rtc::Optional<uint8_t> current_cng_rtp_payload_type_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [87/106]

uint32_t ssrc_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [88/106]

uint32_t ssrc_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [89/106]

bool first_packet_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [90/106]

bool first_packet_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [91/106]

int error_code_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [92/106]

int error_code_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [93/106]

int decoder_error_code_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [94/106]

int decoder_error_code_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [95/106]

const BackgroundNoiseMode background_noise_mode_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [96/106]

const BackgroundNoiseMode background_noise_mode_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [97/106]

NetEqPlayoutMode playout_mode_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [98/106]

NetEqPlayoutMode playout_mode_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [99/106]

bool enable_fast_accelerate_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [100/106]

bool enable_fast_accelerate_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [101/106]

std::unique_ptr<NackTracker> nack_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [102/106]

std::unique_ptr<NackTracker> nack_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [103/106]

bool nack_enabled_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [104/106]

bool nack_enabled_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [105/106]

const bool enable_muted_state_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ GUARDED_BY() [106/106]

const bool enable_muted_state_ webrtc::NetEqImpl::GUARDED_BY ( crit_sect_  )
protected

◆ InsertPacket() [1/2]

int webrtc::NetEqImpl::InsertPacket ( const WebRtcRTPHeader rtp_header,
rtc::ArrayView< const uint8_t payload,
uint32_t  receive_timestamp 
)
overridevirtual

Implements webrtc::NetEq.

◆ InsertPacket() [2/2]

int webrtc::NetEqImpl::InsertPacket ( const WebRtcRTPHeader rtp_header,
rtc::ArrayView< const uint8_t payload,
uint32_t  receive_timestamp 
)
overridevirtual

Implements webrtc::NetEq.

◆ InsertPacketInternal() [1/2]

int webrtc::NetEqImpl::InsertPacketInternal ( const WebRtcRTPHeader rtp_header,
rtc::ArrayView< const uint8_t payload,
uint32_t  receive_timestamp 
)
protected

◆ InsertPacketInternal() [2/2]

int webrtc::NetEqImpl::InsertPacketInternal ( const WebRtcRTPHeader rtp_header,
rtc::ArrayView< const uint8_t payload,
uint32_t  receive_timestamp 
)
protected

◆ last_operation_for_test() [1/2]

Operations webrtc::NetEqImpl::last_operation_for_test ( ) const

◆ last_operation_for_test() [2/2]

Operations webrtc::NetEqImpl::last_operation_for_test ( ) const

◆ last_output_sample_rate_hz() [1/2]

int webrtc::NetEqImpl::last_output_sample_rate_hz ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ last_output_sample_rate_hz() [2/2]

int webrtc::NetEqImpl::last_output_sample_rate_hz ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ LastDecoderError() [1/2]

int webrtc::NetEqImpl::LastDecoderError ( )
overridevirtual

Implements webrtc::NetEq.

◆ LastDecoderError() [2/2]

int webrtc::NetEqImpl::LastDecoderError ( )
overridevirtual

Implements webrtc::NetEq.

◆ LastError() [1/2]

int webrtc::NetEqImpl::LastError ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ LastError() [2/2]

int webrtc::NetEqImpl::LastError ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ LastOutputType() [1/2]

OutputType webrtc::NetEqImpl::LastOutputType ( )
protected

◆ LastOutputType() [2/2]

NetEqImpl::OutputType webrtc::NetEqImpl::LastOutputType ( )
protected

◆ LeastRequiredDelayMs() [1/2]

int webrtc::NetEqImpl::LeastRequiredDelayMs ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ LeastRequiredDelayMs() [2/2]

int webrtc::NetEqImpl::LeastRequiredDelayMs ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ NetworkStatistics() [1/2]

int webrtc::NetEqImpl::NetworkStatistics ( NetEqNetworkStatistics stats)
overridevirtual

Implements webrtc::NetEq.

◆ NetworkStatistics() [2/2]

int webrtc::NetEqImpl::NetworkStatistics ( NetEqNetworkStatistics stats)
overridevirtual

Implements webrtc::NetEq.

◆ PacketBufferStatistics() [1/2]

void webrtc::NetEqImpl::PacketBufferStatistics ( int *  current_num_packets,
int *  max_num_packets 
) const
overridevirtual

Implements webrtc::NetEq.

◆ PacketBufferStatistics() [2/2]

void webrtc::NetEqImpl::PacketBufferStatistics ( int *  current_num_packets,
int *  max_num_packets 
) const
overridevirtual

Implements webrtc::NetEq.

◆ PlayoutMode() [1/2]

NetEqPlayoutMode webrtc::NetEqImpl::PlayoutMode ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ PlayoutMode() [2/2]

NetEqPlayoutMode webrtc::NetEqImpl::PlayoutMode ( ) const
overridevirtual

Implements webrtc::NetEq.

◆ RegisterExternalDecoder() [1/2]

int webrtc::NetEqImpl::RegisterExternalDecoder ( AudioDecoder decoder,
NetEqDecoder  codec,
const std::string codec_name,
uint8_t  rtp_payload_type 
)
overridevirtual

Implements webrtc::NetEq.

◆ RegisterExternalDecoder() [2/2]

int webrtc::NetEqImpl::RegisterExternalDecoder ( AudioDecoder decoder,
NetEqDecoder  codec,
const std::string codec_name,
uint8_t  rtp_payload_type 
)
overridevirtual

Implements webrtc::NetEq.

◆ RegisterPayloadType() [1/4]

int webrtc::NetEqImpl::RegisterPayloadType ( NetEqDecoder  codec,
const std::string codec_name,
uint8_t  rtp_payload_type 
)
overridevirtual

Implements webrtc::NetEq.

◆ RegisterPayloadType() [2/4]

int webrtc::NetEqImpl::RegisterPayloadType ( NetEqDecoder  codec,
const std::string codec_name,
uint8_t  rtp_payload_type 
)
overridevirtual

Implements webrtc::NetEq.

◆ RegisterPayloadType() [3/4]

bool webrtc::NetEqImpl::RegisterPayloadType ( int  rtp_payload_type,
const SdpAudioFormat audio_format 
)
overridevirtual

Implements webrtc::NetEq.

◆ RegisterPayloadType() [4/4]

bool webrtc::NetEqImpl::RegisterPayloadType ( int  rtp_payload_type,
const SdpAudioFormat audio_format 
)
overridevirtual

Implements webrtc::NetEq.

◆ RemoveAllPayloadTypes() [1/2]

void webrtc::NetEqImpl::RemoveAllPayloadTypes ( )
overridevirtual

Implements webrtc::NetEq.

◆ RemoveAllPayloadTypes() [2/2]

void webrtc::NetEqImpl::RemoveAllPayloadTypes ( )
overridevirtual

Implements webrtc::NetEq.

◆ RemovePayloadType() [1/2]

int webrtc::NetEqImpl::RemovePayloadType ( uint8_t  rtp_payload_type)
overridevirtual

Implements webrtc::NetEq.

◆ RemovePayloadType() [2/2]

int webrtc::NetEqImpl::RemovePayloadType ( uint8_t  rtp_payload_type)
overridevirtual

Implements webrtc::NetEq.

◆ SetMaximumDelay() [1/2]

bool webrtc::NetEqImpl::SetMaximumDelay ( int  delay_ms)
overridevirtual

Implements webrtc::NetEq.

◆ SetMaximumDelay() [2/2]

bool webrtc::NetEqImpl::SetMaximumDelay ( int  delay_ms)
overridevirtual

Implements webrtc::NetEq.

◆ SetMinimumDelay() [1/2]

bool webrtc::NetEqImpl::SetMinimumDelay ( int  delay_ms)
overridevirtual

Implements webrtc::NetEq.

◆ SetMinimumDelay() [2/2]

bool webrtc::NetEqImpl::SetMinimumDelay ( int  delay_ms)
overridevirtual

Implements webrtc::NetEq.

◆ SetPlayoutMode() [1/2]

void webrtc::NetEqImpl::SetPlayoutMode ( NetEqPlayoutMode  mode)
overridevirtual

Implements webrtc::NetEq.

◆ SetPlayoutMode() [2/2]

void webrtc::NetEqImpl::SetPlayoutMode ( NetEqPlayoutMode  mode)
overridevirtual

Implements webrtc::NetEq.

◆ SetSampleRateAndChannels() [1/2]

void webrtc::NetEqImpl::SetSampleRateAndChannels ( int  fs_hz,
size_t  channels 
)
protected

◆ SetSampleRateAndChannels() [2/2]

void webrtc::NetEqImpl::SetSampleRateAndChannels ( int  fs_hz,
size_t  channels 
)
protected

◆ SetTargetDelay() [1/2]

int webrtc::NetEqImpl::SetTargetDelay ( )
overridevirtual

Implements webrtc::NetEq.

◆ SetTargetDelay() [2/2]

int webrtc::NetEqImpl::SetTargetDelay ( )
overridevirtual

Implements webrtc::NetEq.

◆ SetTargetNumberOfChannels() [1/2]

int webrtc::NetEqImpl::SetTargetNumberOfChannels ( )
overridevirtual

Implements webrtc::NetEq.

◆ SetTargetNumberOfChannels() [2/2]

int webrtc::NetEqImpl::SetTargetNumberOfChannels ( )
overridevirtual

Implements webrtc::NetEq.

◆ SetTargetSampleRate() [1/2]

int webrtc::NetEqImpl::SetTargetSampleRate ( )
overridevirtual

Implements webrtc::NetEq.

◆ SetTargetSampleRate() [2/2]

int webrtc::NetEqImpl::SetTargetSampleRate ( )
overridevirtual

Implements webrtc::NetEq.

◆ sync_buffer_for_test() [1/2]

const SyncBuffer* webrtc::NetEqImpl::sync_buffer_for_test ( ) const

◆ sync_buffer_for_test() [2/2]

const SyncBuffer * webrtc::NetEqImpl::sync_buffer_for_test ( ) const

◆ TargetDelay() [1/2]

int webrtc::NetEqImpl::TargetDelay ( )
overridevirtual

Implements webrtc::NetEq.

◆ TargetDelay() [2/2]

int webrtc::NetEqImpl::TargetDelay ( )
overridevirtual

Implements webrtc::NetEq.

◆ UpdatePlcComponents() [1/2]

void webrtc::NetEqImpl::UpdatePlcComponents ( int  fs_hz,
size_t  channels 
)
protectedvirtual

◆ UpdatePlcComponents() [2/2]

virtual void webrtc::NetEqImpl::UpdatePlcComponents ( int  fs_hz,
size_t  channels 
)
protectedvirtual

Member Data Documentation

◆ crit_sect_

rtc::CriticalSection webrtc::NetEqImpl::crit_sect_
protected

◆ kMaxFrameSize

static const size_t webrtc::NetEqImpl::kMaxFrameSize = 5760
staticprotected

◆ kOutputSizeMs

static const int webrtc::NetEqImpl::kOutputSizeMs = 10
staticprotected

◆ kSyncBufferSize

static const size_t webrtc::NetEqImpl::kSyncBufferSize = kMaxFrameSize + 60 * 48
staticprotected

The documentation for this class was generated from the following files: