webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
webrtc::NetEqDecodingTestWithMutedState Class Reference
Inheritance diagram for webrtc::NetEqDecodingTestWithMutedState:
webrtc::NetEqDecodingTest testing::Test

Public Member Functions

 NetEqDecodingTestWithMutedState ()
 

Protected Member Functions

void InsertPacket (uint32_t rtp_timestamp)
 
void InsertCngPacket (uint32_t rtp_timestamp)
 
bool GetAudioReturnMuted ()
 
void GetAudioUntilMuted ()
 
void GetAudioUntilNormal ()
 
- Protected Member Functions inherited from webrtc::NetEqDecodingTest
 NetEqDecodingTest ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
void SelectDecoders (NetEqDecoder *used_codec)
 
void OpenInputFile (const std::string &rtp_file)
 
void Process ()
 
void DecodeAndCompare (const std::string &rtp_file, const std::string &output_checksum, const std::string &network_stats_checksum, const std::string &rtcp_stats_checksum, bool gen_ref)
 
void WrapTest (uint16_t start_seq_no, uint32_t start_timestamp, const std::set< uint16_t > &drop_seq_numbers, bool expect_seq_no_wrap, bool expect_timestamp_wrap)
 
void LongCngWithClockDrift (double drift_factor, double network_freeze_ms, bool pull_audio_during_freeze, int delay_tolerance_ms, int max_time_to_speech_ms)
 
void DuplicateCng ()
 
rtc::Optional< uint32_tPlayoutTimestamp ()
 
- Protected Member Functions inherited from testing::Test
 Test ()
 

Protected Attributes

int counter_ = 0
 
- Protected Attributes inherited from webrtc::NetEqDecodingTest
NetEqneteq_
 
NetEq::Config config_
 
std::unique_ptr< test::RtpFileSourcertp_source_
 
std::unique_ptr< test::Packetpacket_
 
unsigned int sim_clock_
 
AudioFrame out_frame_
 
int output_sample_rate_
 
int algorithmic_delay_ms_
 

Static Protected Attributes

static constexpr size_t kSamples = 10 * 16
 
static constexpr size_t kPayloadBytes = kSamples * 2
 
- Static Protected Attributes inherited from webrtc::NetEqDecodingTest
static const int kTimeStepMs = 10
 
static const size_t kBlockSize8kHz = kTimeStepMs * 8
 
static const size_t kBlockSize16kHz = kTimeStepMs * 16
 
static const size_t kBlockSize32kHz = kTimeStepMs * 32
 
static const size_t kBlockSize48kHz = kTimeStepMs * 48
 
static const int kInitSampleRateHz = 8000
 

Additional Inherited Members

- Static Protected Member Functions inherited from webrtc::NetEqDecodingTest
static void PopulateRtpInfo (int frame_index, int timestamp, WebRtcRTPHeader *rtp_info)
 
static void PopulateCng (int frame_index, int timestamp, WebRtcRTPHeader *rtp_info, uint8_t *payload, size_t *payload_len)
 

Constructor & Destructor Documentation

◆ NetEqDecodingTestWithMutedState()

webrtc::NetEqDecodingTestWithMutedState::NetEqDecodingTestWithMutedState ( )
inline

Member Function Documentation

◆ GetAudioReturnMuted()

bool webrtc::NetEqDecodingTestWithMutedState::GetAudioReturnMuted ( )
inlineprotected

◆ GetAudioUntilMuted()

void webrtc::NetEqDecodingTestWithMutedState::GetAudioUntilMuted ( )
inlineprotected

◆ GetAudioUntilNormal()

void webrtc::NetEqDecodingTestWithMutedState::GetAudioUntilNormal ( )
inlineprotected

◆ InsertCngPacket()

void webrtc::NetEqDecodingTestWithMutedState::InsertCngPacket ( uint32_t  rtp_timestamp)
inlineprotected

◆ InsertPacket()

void webrtc::NetEqDecodingTestWithMutedState::InsertPacket ( uint32_t  rtp_timestamp)
inlineprotected

Member Data Documentation

◆ counter_

int webrtc::NetEqDecodingTestWithMutedState::counter_ = 0
protected

◆ kPayloadBytes

constexpr size_t webrtc::NetEqDecodingTestWithMutedState::kPayloadBytes = kSamples * 2
staticprotected

◆ kSamples

constexpr size_t webrtc::NetEqDecodingTestWithMutedState::kSamples = 10 * 16
staticprotected

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