webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | List of all members
VideoChannelSingleThreadTest Class Reference
Inheritance diagram for VideoChannelSingleThreadTest:
ChannelTest< VideoTraits > testing::Test sigslot::has_slots<> sigslot::has_slots_interface sigslot::has_slots_interface

Public Types

typedef ChannelTest< VideoTraitsBase
 
- Public Types inherited from ChannelTest< VideoTraits >
enum  Flags
 

Public Member Functions

 VideoChannelSingleThreadTest ()
 
- Public Member Functions inherited from ChannelTest< VideoTraits >
 ChannelTest (bool verify_playout, rtc::ArrayView< const uint8_t > rtp_data, rtc::ArrayView< const uint8_t > rtcp_data, NetworkIsWorker network_is_worker)
 
void CreateChannels (int flags1, int flags2)
 
void CreateChannels (typename VideoTraits ::MediaChannel *ch1, typename VideoTraits ::MediaChannel *ch2, int flags1, int flags2)
 
VideoTraits ::Channel * CreateChannel (rtc::Thread *worker_thread, rtc::Thread *network_thread, cricket::MediaEngineInterface *engine, typename VideoTraits ::MediaChannel *ch, cricket::DtlsTransportInternal *fake_rtp_dtls_transport, cricket::DtlsTransportInternal *fake_rtcp_dtls_transport, rtc::PacketTransportInternal *fake_rtp_packet_transport, rtc::PacketTransportInternal *fake_rtcp_packet_transport, int flags)
 
void ConnectFakeTransports ()
 
bool SendInitiate ()
 
bool SendAccept ()
 
bool SendOffer ()
 
bool SendProvisionalAnswer ()
 
bool SendFinalAnswer ()
 
bool Terminate ()
 
bool AddStream1 (int id)
 
bool RemoveStream1 (int id)
 
void SendRtp1 ()
 
void SendRtp2 ()
 
void SendRtcp1 ()
 
void SendRtcp2 ()
 
void SendCustomRtp1 (uint32_t ssrc, int sequence_number, int pl_type=-1)
 
void SendCustomRtp2 (uint32_t ssrc, int sequence_number, int pl_type=-1)
 
void SendCustomRtcp1 (uint32_t ssrc)
 
void SendCustomRtcp2 (uint32_t ssrc)
 
bool CheckRtp1 ()
 
bool CheckRtp2 ()
 
bool CheckRtcp1 ()
 
bool CheckRtcp2 ()
 
bool CheckCustomRtp1 (uint32_t ssrc, int sequence_number, int pl_type=-1)
 
bool CheckCustomRtp2 (uint32_t ssrc, int sequence_number, int pl_type=-1)
 
bool CheckCustomRtcp1 (uint32_t ssrc)
 
bool CheckCustomRtcp2 (uint32_t ssrc)
 
rtc::Buffer CreateRtpData (uint32_t ssrc, int sequence_number, int pl_type)
 
rtc::Buffer CreateRtcpData (uint32_t ssrc)
 
bool CheckNoRtp1 ()
 
bool CheckNoRtp2 ()
 
bool CheckNoRtcp1 ()
 
bool CheckNoRtcp2 ()
 
bool CheckGcmCipher (typename VideoTraits ::Channel *channel, int flags)
 
void CreateContent (int flags, const cricket::AudioCodec &audio_codec, const cricket::VideoCodec &video_codec, typename VideoTraits ::Content *content)
 
void CopyContent (const typename VideoTraits ::Content &source, typename VideoTraits ::Content *content)
 
cricket::SessionDescriptionCreateSessionDescriptionWithStream (uint32_t ssrc)
 
bool CodecMatches (const typename VideoTraits ::Codec &c1, const typename VideoTraits ::Codec &c2)
 
void OnMediaMonitor1 (typename VideoTraits ::Channel *channel, const typename VideoTraits ::MediaInfo &info)
 
void OnMediaMonitor2 (typename VideoTraits ::Channel *channel, const typename VideoTraits ::MediaInfo &info)
 
void OnRtcpMuxFullyActive1 (const std::string &)
 
void OnRtcpMuxFullyActive2 (const std::string &)
 
cricket::CandidatePairInterfacelast_selected_candidate_pair ()
 
void AddLegacyStreamInContent (uint32_t ssrc, int flags, typename VideoTraits ::Content *content)
 
void TestInit ()
 
void TestSetContents ()
 
void TestSetContentsNullOffer ()
 
void TestSetContentsRtcpMux ()
 
void TestSetContentsRtcpMuxWithPrAnswer ()
 
void TestSetRemoteContentUpdate ()
 
void TestStreams ()
 
void TestUpdateStreamsInLocalContent ()
 
void TestUpdateStreamsInRemoteContent ()
 
void TestChangeStreamParamsInContent ()
 
void TestPlayoutAndSendingStates ()
 
void TestMediaContentDirection ()
 
void TestNetworkRouteChanges ()
 
void TestCallSetup ()
 
void TestCallTeardownRtcpMux ()
 
void SendRtpToRtp ()
 
void TestDeinit ()
 
void SendRtcpToRtcp ()
 
void SendRtcpMuxToRtcp ()
 
void SendRtcpMuxToRtcpMux ()
 
void SendRequireRtcpMuxToRtcpMux ()
 
void SendRtcpMuxToRequireRtcpMux ()
 
void SendRequireRtcpMuxToRequireRtcpMux ()
 
void SendRequireRtcpMuxToNoRtcpMux ()
 
void SendEarlyRtcpMuxToRtcp ()
 
void SendEarlyRtcpMuxToRtcpMux ()
 
void SendSrtpToSrtp (int flags1_in=0, int flags2_in=0)
 
void SendSrtpToRtp ()
 
void SendEarlyMediaUsingRtcpMuxSrtp ()
 
void SendRtpToRtpOnThread ()
 
void SendSrtpToSrtpOnThread ()
 
void SendWithWritabilityLoss ()
 
void SendBundleToBundle (const int *pl_types, int len, bool rtcp_mux, bool secure)
 
void TestMediaMonitor ()
 
void TestSetContentFailure ()
 
void TestSendTwoOffers ()
 
void TestReceiveTwoOffers ()
 
void TestSendPrAnswer ()
 
void TestReceivePrAnswer ()
 
void TestFlushRtcp ()
 
void TestSrtpError (int pl_type)
 
void TestOnReadyToSend ()
 
void TestOnReadyToSendWithRtcpMux ()
 
bool SetRemoteContentWithBitrateLimit (int remote_limit)
 
webrtc::RtpParameters BitrateLimitedParameters (rtc::Optional< int > limit)
 
void VerifyMaxBitrate (const webrtc::RtpParameters &parameters, rtc::Optional< int > expected_bitrate)
 
void DefaultMaxBitrateIsUnlimited ()
 
void CanChangeMaxBitrate ()
 
- Public Member Functions inherited from sigslot::has_slots<>
 has_slots ()
 
 has_slots ()
 
 ~has_slots ()
 
 ~has_slots ()
 
- Public Member Functions inherited from sigslot::has_slots_interface
void signal_connect (_signal_base_interface *sender)
 
void signal_disconnect (_signal_base_interface *sender)
 
void disconnect_all ()
 
void signal_connect (_signal_base_interface *sender)
 
void signal_disconnect (_signal_base_interface *sender)
 
void disconnect_all ()
 

Additional Inherited Members

- Protected Member Functions inherited from ChannelTest< VideoTraits >
void WaitForThreads ()
 
void WaitForThreads (rtc::ArrayView< rtc::Thread * > threads)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 
- Protected Member Functions inherited from sigslot::has_slots_interface
 has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all)
 
virtual ~has_slots_interface ()
 
 has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all)
 
virtual ~has_slots_interface ()
 
- Static Protected Member Functions inherited from ChannelTest< VideoTraits >
static void ProcessThreadQueue (rtc::Thread *thread)
 
- Protected Attributes inherited from ChannelTest< VideoTraits >
const bool verify_playout_
 
std::unique_ptr< rtc::Threadnetwork_thread_keeper_
 
rtc::Threadnetwork_thread_
 
std::unique_ptr< cricket::FakeDtlsTransportfake_rtp_dtls_transport1_
 
std::unique_ptr< cricket::FakeDtlsTransportfake_rtcp_dtls_transport1_
 
std::unique_ptr< cricket::FakeDtlsTransportfake_rtp_dtls_transport2_
 
std::unique_ptr< cricket::FakeDtlsTransportfake_rtcp_dtls_transport2_
 
std::unique_ptr< rtc::FakePacketTransportfake_rtp_packet_transport1_
 
std::unique_ptr< rtc::FakePacketTransportfake_rtcp_packet_transport1_
 
std::unique_ptr< rtc::FakePacketTransportfake_rtp_packet_transport2_
 
std::unique_ptr< rtc::FakePacketTransportfake_rtcp_packet_transport2_
 
cricket::FakeMediaEngine media_engine_
 
VideoTraits ::MediaChannel * media_channel1_
 
VideoTraits ::MediaChannel * media_channel2_
 
std::unique_ptr< typename VideoTraits ::Channel > channel1_
 
std::unique_ptr< typename VideoTraits ::Channel > channel2_
 
VideoTraits ::Content local_media_content1_
 
VideoTraits ::Content local_media_content2_
 
VideoTraits ::Content remote_media_content1_
 
VideoTraits ::Content remote_media_content2_
 
rtc::Buffer rtp_packet_
 
rtc::Buffer rtcp_packet_
 
int media_info_callbacks1_
 
int media_info_callbacks2_
 
int rtcp_mux_activated_callbacks1_
 
int rtcp_mux_activated_callbacks2_
 
cricket::CandidatePairInterfacelast_selected_candidate_pair_
 

Member Typedef Documentation

◆ Base

Constructor & Destructor Documentation

◆ VideoChannelSingleThreadTest()

VideoChannelSingleThreadTest::VideoChannelSingleThreadTest ( )
inline

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