|
| 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_t > | GetPlayoutTimestamp () const override |
|
int | last_output_sample_rate_hz () const override |
|
rtc::Optional< CodecInst > | GetDecoder (int payload_type) const override |
|
rtc::Optional< SdpAudioFormat > | GetDecoderFormat (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_t > | GetNackList (int64_t round_trip_time_ms) const override |
|
const SyncBuffer * | sync_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_t > | GetPlayoutTimestamp () const override |
|
int | last_output_sample_rate_hz () const override |
|
rtc::Optional< CodecInst > | GetDecoder (int payload_type) const override |
|
rtc::Optional< SdpAudioFormat > | GetDecoderFormat (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_t > | GetNackList (int64_t round_trip_time_ms) const override |
|
const SyncBuffer * | sync_buffer_for_test () const |
|
Operations | last_operation_for_test () const |
|
virtual | ~NetEq () |
|
virtual | ~NetEq () |
|
|
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_) |
|
| NetEq () |
|
| NetEq () |
|