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

Public Member Functions

 WebRtcSdpTest ()
 
void MakeBundleOnlyDescription ()
 
void MakePlanBDescription ()
 
void MakeUnifiedPlanDescription ()
 
AudioContentDescriptionCreateAudioContentDescription ()
 
VideoContentDescriptionCreateVideoContentDescription ()
 
template<class MCD >
void CompareMediaContentDescription (const MCD *cd1, const MCD *cd2)
 
void CompareDataContentDescription (const DataContentDescription *dcd1, const DataContentDescription *dcd2)
 
void CompareSessionDescription (const SessionDescription &desc1, const SessionDescription &desc2)
 
bool CompareSessionDescription (const JsepSessionDescription &desc1, const JsepSessionDescription &desc2)
 
bool RemoveCandidateUfragPwd (std::string *sdp)
 
bool UpdateCandidateUfragPwd (JsepSessionDescription *jdesc, int mline_index, const std::string &ufrag, const std::string &pwd)
 
void AddIceOptions (const std::string &content_name, const std::vector< std::string > &transport_options)
 
void SetIceUfragPwd (const std::string &content_name, const std::string &ice_ufrag, const std::string &ice_pwd)
 
void AddFingerprint ()
 
void AddExtmap ()
 
void RemoveCryptos ()
 
bool TestSerializeDirection (cricket::MediaContentDirection direction)
 
bool TestSerializeRejected (bool audio_rejected, bool video_rejected)
 
void AddSctpDataChannel (bool use_sctpmap)
 
void AddRtpDataChannel ()
 
bool TestDeserializeDirection (cricket::MediaContentDirection direction)
 
bool TestDeserializeRejected (bool audio_rejected, bool video_rejected)
 
void TestDeserializeExtmap (bool session_level, bool media_level)
 
void VerifyCodecParameter (const cricket::CodecParameterMap &params, const std::string &name, int expected_value)
 
void TestDeserializeCodecParams (const CodecParams &params, JsepSessionDescription *jdesc_output)
 
void TestDeserializeRtcpFb (JsepSessionDescription *jdesc_output, bool use_wildcard)
 
void TestSerialize (const JsepSessionDescription &jdesc, bool unified_plan_sdp)
 

Protected Attributes

SessionDescription desc_
 
AudioContentDescriptionaudio_desc_
 
VideoContentDescriptionvideo_desc_
 
DataContentDescriptiondata_desc_
 
Candidates candidates_
 
std::unique_ptr< IceCandidateInterfacejcandidate_
 
JsepSessionDescription jdesc_
 

Additional Inherited Members

- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Constructor & Destructor Documentation

◆ WebRtcSdpTest()

WebRtcSdpTest::WebRtcSdpTest ( )
inline

Member Function Documentation

◆ AddExtmap()

void WebRtcSdpTest::AddExtmap ( )
inline

◆ AddFingerprint()

void WebRtcSdpTest::AddFingerprint ( )
inline

◆ AddIceOptions()

void WebRtcSdpTest::AddIceOptions ( const std::string content_name,
const std::vector< std::string > &  transport_options 
)
inline

◆ AddRtpDataChannel()

void WebRtcSdpTest::AddRtpDataChannel ( )
inline

◆ AddSctpDataChannel()

void WebRtcSdpTest::AddSctpDataChannel ( bool  use_sctpmap)
inline

◆ CompareDataContentDescription()

void WebRtcSdpTest::CompareDataContentDescription ( const DataContentDescription dcd1,
const DataContentDescription dcd2 
)
inline

◆ CompareMediaContentDescription()

template<class MCD >
void WebRtcSdpTest::CompareMediaContentDescription ( const MCD *  cd1,
const MCD *  cd2 
)
inline

◆ CompareSessionDescription() [1/2]

void WebRtcSdpTest::CompareSessionDescription ( const SessionDescription desc1,
const SessionDescription desc2 
)
inline

◆ CompareSessionDescription() [2/2]

bool WebRtcSdpTest::CompareSessionDescription ( const JsepSessionDescription desc1,
const JsepSessionDescription desc2 
)
inline

◆ CreateAudioContentDescription()

AudioContentDescription* WebRtcSdpTest::CreateAudioContentDescription ( )
inline

◆ CreateVideoContentDescription()

VideoContentDescription* WebRtcSdpTest::CreateVideoContentDescription ( )
inline

◆ MakeBundleOnlyDescription()

void WebRtcSdpTest::MakeBundleOnlyDescription ( )
inline

◆ MakePlanBDescription()

void WebRtcSdpTest::MakePlanBDescription ( )
inline

◆ MakeUnifiedPlanDescription()

void WebRtcSdpTest::MakeUnifiedPlanDescription ( )
inline

◆ RemoveCandidateUfragPwd()

bool WebRtcSdpTest::RemoveCandidateUfragPwd ( std::string sdp)
inline

◆ RemoveCryptos()

void WebRtcSdpTest::RemoveCryptos ( )
inline

◆ SetIceUfragPwd()

void WebRtcSdpTest::SetIceUfragPwd ( const std::string content_name,
const std::string ice_ufrag,
const std::string ice_pwd 
)
inline

◆ TestDeserializeCodecParams()

void WebRtcSdpTest::TestDeserializeCodecParams ( const CodecParams params,
JsepSessionDescription jdesc_output 
)
inline

◆ TestDeserializeDirection()

bool WebRtcSdpTest::TestDeserializeDirection ( cricket::MediaContentDirection  direction)
inline

◆ TestDeserializeExtmap()

void WebRtcSdpTest::TestDeserializeExtmap ( bool  session_level,
bool  media_level 
)
inline

◆ TestDeserializeRejected()

bool WebRtcSdpTest::TestDeserializeRejected ( bool  audio_rejected,
bool  video_rejected 
)
inline

◆ TestDeserializeRtcpFb()

void WebRtcSdpTest::TestDeserializeRtcpFb ( JsepSessionDescription jdesc_output,
bool  use_wildcard 
)
inline

◆ TestSerialize()

void WebRtcSdpTest::TestSerialize ( const JsepSessionDescription jdesc,
bool  unified_plan_sdp 
)
inline

◆ TestSerializeDirection()

bool WebRtcSdpTest::TestSerializeDirection ( cricket::MediaContentDirection  direction)
inline

◆ TestSerializeRejected()

bool WebRtcSdpTest::TestSerializeRejected ( bool  audio_rejected,
bool  video_rejected 
)
inline

◆ UpdateCandidateUfragPwd()

bool WebRtcSdpTest::UpdateCandidateUfragPwd ( JsepSessionDescription jdesc,
int  mline_index,
const std::string ufrag,
const std::string pwd 
)
inline

◆ VerifyCodecParameter()

void WebRtcSdpTest::VerifyCodecParameter ( const cricket::CodecParameterMap params,
const std::string name,
int  expected_value 
)
inline

Member Data Documentation

◆ audio_desc_

AudioContentDescription* WebRtcSdpTest::audio_desc_
protected

◆ candidates_

Candidates WebRtcSdpTest::candidates_
protected

◆ data_desc_

DataContentDescription* WebRtcSdpTest::data_desc_
protected

◆ desc_

SessionDescription WebRtcSdpTest::desc_
protected

◆ jcandidate_

std::unique_ptr<IceCandidateInterface> WebRtcSdpTest::jcandidate_
protected

◆ jdesc_

JsepSessionDescription WebRtcSdpTest::jdesc_
protected

◆ video_desc_

VideoContentDescription* WebRtcSdpTest::video_desc_
protected

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