webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cricket::WebRtcVideoChannel2Test Class Reference
Inheritance diagram for cricket::WebRtcVideoChannel2Test:
cricket::WebRtcVideoEngine2Test testing::Test cricket::Vp9SettingsTest cricket::WebRtcVideoChannel2FlexfecTest cricket::Vp9SettingsTestWithFieldTrial cricket::Vp9SettingsTestWith2SL3TLFlag cricket::Vp9SettingsTestWithInvalidFlag cricket::Vp9SettingsTestWithNoFlag

Public Member Functions

 WebRtcVideoChannel2Test ()
 
 WebRtcVideoChannel2Test (const char *field_trials)
 
void SetUp () override
 
- Public Member Functions inherited from cricket::WebRtcVideoEngine2Test
 WebRtcVideoEngine2Test ()
 
 WebRtcVideoEngine2Test (const char *field_trials)
 

Protected Member Functions

FakeVideoSendStreamAddSendStream ()
 
FakeVideoSendStreamAddSendStream (const StreamParams &sp)
 
std::vector< FakeVideoSendStream * > GetFakeSendStreams ()
 
FakeVideoReceiveStreamAddRecvStream ()
 
FakeVideoReceiveStreamAddRecvStream (const StreamParams &sp)
 
void SetSendCodecsShouldWorkForBitrates (const char *min_bitrate_kbps, int expected_min_bitrate_bps, const char *start_bitrate_kbps, int expected_start_bitrate_bps, const char *max_bitrate_kbps, int expected_max_bitrate_bps)
 
void TestSetSendRtpHeaderExtensions (const std::string &ext_uri)
 
void TestSetRecvRtpHeaderExtensions (const std::string &ext_uri)
 
void TestExtensionFilter (const std::vector< std::string > &extensions, const std::string &expected_extension)
 
void TestCpuAdaptation (bool enable_overuse, bool is_screenshare)
 
void TestReceiverLocalSsrcConfiguration (bool receiver_first)
 
void TestReceiveUnsignaledSsrcPacket (uint8_t payload_type, bool expect_created_receive_stream)
 
FakeVideoSendStreamSetDenoisingOption (uint32_t ssrc, cricket::FakeVideoCapturer *capturer, bool enabled)
 
FakeVideoSendStreamSetUpSimulcast (bool enabled, bool with_rtx)
 
int GetMaxEncoderBitrate ()
 
void SetAndExpectMaxBitrate (int global_max, int stream_max, int expected_encoder_bitrate)
 
- Protected Member Functions inherited from cricket::WebRtcVideoEngine2Test
cricket::VideoCodec GetEngineCodec (const std::string &name)
 
VideoMediaChannelSetUpForExternalEncoderFactory (cricket::WebRtcVideoEncoderFactory *encoder_factory)
 
VideoMediaChannelSetUpForExternalDecoderFactory (cricket::WebRtcVideoDecoderFactory *decoder_factory, const std::vector< VideoCodec > &codecs)
 
void TestExtendedEncoderOveruse (bool use_external_encoder)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void TearDown ()
 

Protected Attributes

std::unique_ptr< FakeCallfake_call_
 
std::unique_ptr< VideoMediaChannelchannel_
 
cricket::VideoSendParameters send_parameters_
 
cricket::VideoRecvParameters recv_parameters_
 
uint32_t last_ssrc_
 
- Protected Attributes inherited from cricket::WebRtcVideoEngine2Test
webrtc::test::ScopedFieldTrials override_field_trials_
 
webrtc::RtcEventLogNullImpl event_log_
 
std::unique_ptr< webrtc::Callcall_
 
WebRtcVideoEngine2 engine_
 
VideoCodec default_codec_
 
std::map< int, int > default_apt_rtx_types_
 

Constructor & Destructor Documentation

◆ WebRtcVideoChannel2Test() [1/2]

cricket::WebRtcVideoChannel2Test::WebRtcVideoChannel2Test ( )
inline

◆ WebRtcVideoChannel2Test() [2/2]

cricket::WebRtcVideoChannel2Test::WebRtcVideoChannel2Test ( const char *  field_trials)
inlineexplicit

Member Function Documentation

◆ AddRecvStream() [1/2]

FakeVideoReceiveStream* cricket::WebRtcVideoChannel2Test::AddRecvStream ( )
inlineprotected

◆ AddRecvStream() [2/2]

FakeVideoReceiveStream* cricket::WebRtcVideoChannel2Test::AddRecvStream ( const StreamParams sp)
inlineprotected

◆ AddSendStream() [1/2]

FakeVideoSendStream* cricket::WebRtcVideoChannel2Test::AddSendStream ( )
inlineprotected

◆ AddSendStream() [2/2]

FakeVideoSendStream* cricket::WebRtcVideoChannel2Test::AddSendStream ( const StreamParams sp)
inlineprotected

◆ GetFakeSendStreams()

std::vector<FakeVideoSendStream*> cricket::WebRtcVideoChannel2Test::GetFakeSendStreams ( )
inlineprotected

◆ GetMaxEncoderBitrate()

int cricket::WebRtcVideoChannel2Test::GetMaxEncoderBitrate ( )
inlineprotected

◆ SetAndExpectMaxBitrate()

void cricket::WebRtcVideoChannel2Test::SetAndExpectMaxBitrate ( int  global_max,
int  stream_max,
int  expected_encoder_bitrate 
)
inlineprotected

◆ SetDenoisingOption()

FakeVideoSendStream* cricket::WebRtcVideoChannel2Test::SetDenoisingOption ( uint32_t  ssrc,
cricket::FakeVideoCapturer capturer,
bool  enabled 
)
inlineprotected

◆ SetSendCodecsShouldWorkForBitrates()

void cricket::WebRtcVideoChannel2Test::SetSendCodecsShouldWorkForBitrates ( const char *  min_bitrate_kbps,
int  expected_min_bitrate_bps,
const char *  start_bitrate_kbps,
int  expected_start_bitrate_bps,
const char *  max_bitrate_kbps,
int  expected_max_bitrate_bps 
)
inlineprotected

◆ SetUp()

void cricket::WebRtcVideoChannel2Test::SetUp ( )
inlineoverridevirtual

Reimplemented from testing::Test.

Reimplemented in cricket::Vp9SettingsTest.

◆ SetUpSimulcast()

FakeVideoSendStream* cricket::WebRtcVideoChannel2Test::SetUpSimulcast ( bool  enabled,
bool  with_rtx 
)
inlineprotected

◆ TestCpuAdaptation()

void cricket::WebRtcVideoChannel2Test::TestCpuAdaptation ( bool  enable_overuse,
bool  is_screenshare 
)
protected

◆ TestExtensionFilter()

void cricket::WebRtcVideoChannel2Test::TestExtensionFilter ( const std::vector< std::string > &  extensions,
const std::string expected_extension 
)
inlineprotected

◆ TestReceiverLocalSsrcConfiguration()

void cricket::WebRtcVideoChannel2Test::TestReceiverLocalSsrcConfiguration ( bool  receiver_first)
protected

◆ TestReceiveUnsignaledSsrcPacket()

void cricket::WebRtcVideoChannel2Test::TestReceiveUnsignaledSsrcPacket ( uint8_t  payload_type,
bool  expect_created_receive_stream 
)
protected

◆ TestSetRecvRtpHeaderExtensions()

void cricket::WebRtcVideoChannel2Test::TestSetRecvRtpHeaderExtensions ( const std::string ext_uri)
inlineprotected

◆ TestSetSendRtpHeaderExtensions()

void cricket::WebRtcVideoChannel2Test::TestSetSendRtpHeaderExtensions ( const std::string ext_uri)
inlineprotected

Member Data Documentation

◆ channel_

std::unique_ptr<VideoMediaChannel> cricket::WebRtcVideoChannel2Test::channel_
protected

◆ fake_call_

std::unique_ptr<FakeCall> cricket::WebRtcVideoChannel2Test::fake_call_
protected

◆ last_ssrc_

uint32_t cricket::WebRtcVideoChannel2Test::last_ssrc_
protected

◆ recv_parameters_

cricket::VideoRecvParameters cricket::WebRtcVideoChannel2Test::recv_parameters_
protected

◆ send_parameters_

cricket::VideoSendParameters cricket::WebRtcVideoChannel2Test::send_parameters_
protected

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