webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
cricket::ChannelManager Class Reference

#include <channelmanager.h>

Public Member Functions

 ChannelManager (std::unique_ptr< MediaEngineInterface > me, std::unique_ptr< DataEngineInterface > dme, rtc::Thread *worker_and_network)
 
 ChannelManager (std::unique_ptr< MediaEngineInterface > me, rtc::Thread *worker, rtc::Thread *network)
 
 ~ChannelManager ()
 
rtc::Threadworker_thread () const
 
bool set_worker_thread (rtc::Thread *thread)
 
rtc::Threadnetwork_thread () const
 
bool set_network_thread (rtc::Thread *thread)
 
MediaEngineInterfacemedia_engine ()
 
void GetSupportedAudioSendCodecs (std::vector< AudioCodec > *codecs) const
 
void GetSupportedAudioReceiveCodecs (std::vector< AudioCodec > *codecs) const
 
void GetSupportedAudioRtpHeaderExtensions (RtpHeaderExtensions *ext) const
 
void GetSupportedVideoCodecs (std::vector< VideoCodec > *codecs) const
 
void GetSupportedVideoRtpHeaderExtensions (RtpHeaderExtensions *ext) const
 
void GetSupportedDataCodecs (std::vector< DataCodec > *codecs) const
 
bool initialized () const
 
bool Init ()
 
void Terminate ()
 
VoiceChannelCreateVoiceChannel (webrtc::MediaControllerInterface *media_controller, DtlsTransportInternal *rtp_transport, DtlsTransportInternal *rtcp_transport, rtc::Thread *signaling_thread, const std::string &content_name, bool srtp_required, const AudioOptions &options)
 
VoiceChannelCreateVoiceChannel (webrtc::MediaControllerInterface *media_controller, rtc::PacketTransportInternal *rtp_transport, rtc::PacketTransportInternal *rtcp_transport, rtc::Thread *signaling_thread, const std::string &content_name, bool srtp_required, const AudioOptions &options)
 
void DestroyVoiceChannel (VoiceChannel *voice_channel)
 
VideoChannelCreateVideoChannel (webrtc::MediaControllerInterface *media_controller, DtlsTransportInternal *rtp_transport, DtlsTransportInternal *rtcp_transport, rtc::Thread *signaling_thread, const std::string &content_name, bool srtp_required, const VideoOptions &options)
 
VideoChannelCreateVideoChannel (webrtc::MediaControllerInterface *media_controller, rtc::PacketTransportInternal *rtp_transport, rtc::PacketTransportInternal *rtcp_transport, rtc::Thread *signaling_thread, const std::string &content_name, bool srtp_required, const VideoOptions &options)
 
void DestroyVideoChannel (VideoChannel *video_channel)
 
RtpDataChannelCreateRtpDataChannel (webrtc::MediaControllerInterface *media_controller, DtlsTransportInternal *rtp_transport, DtlsTransportInternal *rtcp_transport, rtc::Thread *signaling_thread, const std::string &content_name, bool srtp_required)
 
void DestroyRtpDataChannel (RtpDataChannel *data_channel)
 
bool has_channels () const
 
bool SetVideoRtxEnabled (bool enable)
 
bool SetCryptoOptions (const rtc::CryptoOptions &crypto_options)
 
bool capturing () const
 
bool StartAecDump (rtc::PlatformFile file, int64_t max_size_bytes)
 
void StopAecDump ()
 
 ChannelManager (std::unique_ptr< MediaEngineInterface > me, std::unique_ptr< DataEngineInterface > dme, rtc::Thread *worker_and_network)
 
 ChannelManager (std::unique_ptr< MediaEngineInterface > me, rtc::Thread *worker, rtc::Thread *network)
 
 ~ChannelManager ()
 
rtc::Threadworker_thread () const
 
bool set_worker_thread (rtc::Thread *thread)
 
rtc::Threadnetwork_thread () const
 
bool set_network_thread (rtc::Thread *thread)
 
MediaEngineInterfacemedia_engine ()
 
void GetSupportedAudioSendCodecs (std::vector< AudioCodec > *codecs) const
 
void GetSupportedAudioReceiveCodecs (std::vector< AudioCodec > *codecs) const
 
void GetSupportedAudioRtpHeaderExtensions (RtpHeaderExtensions *ext) const
 
void GetSupportedVideoCodecs (std::vector< VideoCodec > *codecs) const
 
void GetSupportedVideoRtpHeaderExtensions (RtpHeaderExtensions *ext) const
 
void GetSupportedDataCodecs (std::vector< DataCodec > *codecs) const
 
bool initialized () const
 
bool Init ()
 
void Terminate ()
 
VoiceChannelCreateVoiceChannel (webrtc::MediaControllerInterface *media_controller, DtlsTransportInternal *rtp_transport, DtlsTransportInternal *rtcp_transport, rtc::Thread *signaling_thread, const std::string &content_name, bool srtp_required, const AudioOptions &options)
 
VoiceChannelCreateVoiceChannel (webrtc::MediaControllerInterface *media_controller, rtc::PacketTransportInternal *rtp_transport, rtc::PacketTransportInternal *rtcp_transport, rtc::Thread *signaling_thread, const std::string &content_name, bool srtp_required, const AudioOptions &options)
 
void DestroyVoiceChannel (VoiceChannel *voice_channel)
 
VideoChannelCreateVideoChannel (webrtc::MediaControllerInterface *media_controller, DtlsTransportInternal *rtp_transport, DtlsTransportInternal *rtcp_transport, rtc::Thread *signaling_thread, const std::string &content_name, bool srtp_required, const VideoOptions &options)
 
VideoChannelCreateVideoChannel (webrtc::MediaControllerInterface *media_controller, rtc::PacketTransportInternal *rtp_transport, rtc::PacketTransportInternal *rtcp_transport, rtc::Thread *signaling_thread, const std::string &content_name, bool srtp_required, const VideoOptions &options)
 
void DestroyVideoChannel (VideoChannel *video_channel)
 
RtpDataChannelCreateRtpDataChannel (webrtc::MediaControllerInterface *media_controller, DtlsTransportInternal *rtp_transport, DtlsTransportInternal *rtcp_transport, rtc::Thread *signaling_thread, const std::string &content_name, bool srtp_required)
 
void DestroyRtpDataChannel (RtpDataChannel *data_channel)
 
bool has_channels () const
 
bool SetVideoRtxEnabled (bool enable)
 
bool SetCryptoOptions (const rtc::CryptoOptions &crypto_options)
 
bool capturing () const
 
bool StartAecDump (rtc::PlatformFile file, int64_t max_size_bytes)
 
void StopAecDump ()
 

Constructor & Destructor Documentation

◆ ChannelManager() [1/4]

cricket::ChannelManager::ChannelManager ( std::unique_ptr< MediaEngineInterface me,
std::unique_ptr< DataEngineInterface dme,
rtc::Thread worker_and_network 
)

◆ ChannelManager() [2/4]

cricket::ChannelManager::ChannelManager ( std::unique_ptr< MediaEngineInterface me,
rtc::Thread worker,
rtc::Thread network 
)

◆ ~ChannelManager() [1/2]

cricket::ChannelManager::~ChannelManager ( )

◆ ChannelManager() [3/4]

cricket::ChannelManager::ChannelManager ( std::unique_ptr< MediaEngineInterface me,
std::unique_ptr< DataEngineInterface dme,
rtc::Thread worker_and_network 
)

◆ ChannelManager() [4/4]

cricket::ChannelManager::ChannelManager ( std::unique_ptr< MediaEngineInterface me,
rtc::Thread worker,
rtc::Thread network 
)

◆ ~ChannelManager() [2/2]

cricket::ChannelManager::~ChannelManager ( )

Member Function Documentation

◆ capturing() [1/2]

bool cricket::ChannelManager::capturing ( ) const
inline

◆ capturing() [2/2]

bool cricket::ChannelManager::capturing ( ) const
inline

◆ CreateRtpDataChannel() [1/2]

RtpDataChannel * cricket::ChannelManager::CreateRtpDataChannel ( webrtc::MediaControllerInterface media_controller,
DtlsTransportInternal rtp_transport,
DtlsTransportInternal rtcp_transport,
rtc::Thread signaling_thread,
const std::string content_name,
bool  srtp_required 
)

◆ CreateRtpDataChannel() [2/2]

RtpDataChannel* cricket::ChannelManager::CreateRtpDataChannel ( webrtc::MediaControllerInterface media_controller,
DtlsTransportInternal rtp_transport,
DtlsTransportInternal rtcp_transport,
rtc::Thread signaling_thread,
const std::string content_name,
bool  srtp_required 
)

◆ CreateVideoChannel() [1/4]

VideoChannel * cricket::ChannelManager::CreateVideoChannel ( webrtc::MediaControllerInterface media_controller,
DtlsTransportInternal rtp_transport,
DtlsTransportInternal rtcp_transport,
rtc::Thread signaling_thread,
const std::string content_name,
bool  srtp_required,
const VideoOptions options 
)

◆ CreateVideoChannel() [2/4]

VideoChannel* cricket::ChannelManager::CreateVideoChannel ( webrtc::MediaControllerInterface media_controller,
DtlsTransportInternal rtp_transport,
DtlsTransportInternal rtcp_transport,
rtc::Thread signaling_thread,
const std::string content_name,
bool  srtp_required,
const VideoOptions options 
)

◆ CreateVideoChannel() [3/4]

VideoChannel * cricket::ChannelManager::CreateVideoChannel ( webrtc::MediaControllerInterface media_controller,
rtc::PacketTransportInternal rtp_transport,
rtc::PacketTransportInternal rtcp_transport,
rtc::Thread signaling_thread,
const std::string content_name,
bool  srtp_required,
const VideoOptions options 
)

◆ CreateVideoChannel() [4/4]

VideoChannel* cricket::ChannelManager::CreateVideoChannel ( webrtc::MediaControllerInterface media_controller,
rtc::PacketTransportInternal rtp_transport,
rtc::PacketTransportInternal rtcp_transport,
rtc::Thread signaling_thread,
const std::string content_name,
bool  srtp_required,
const VideoOptions options 
)

◆ CreateVoiceChannel() [1/4]

VoiceChannel * cricket::ChannelManager::CreateVoiceChannel ( webrtc::MediaControllerInterface media_controller,
DtlsTransportInternal rtp_transport,
DtlsTransportInternal rtcp_transport,
rtc::Thread signaling_thread,
const std::string content_name,
bool  srtp_required,
const AudioOptions options 
)

◆ CreateVoiceChannel() [2/4]

VoiceChannel* cricket::ChannelManager::CreateVoiceChannel ( webrtc::MediaControllerInterface media_controller,
DtlsTransportInternal rtp_transport,
DtlsTransportInternal rtcp_transport,
rtc::Thread signaling_thread,
const std::string content_name,
bool  srtp_required,
const AudioOptions options 
)

◆ CreateVoiceChannel() [3/4]

VoiceChannel * cricket::ChannelManager::CreateVoiceChannel ( webrtc::MediaControllerInterface media_controller,
rtc::PacketTransportInternal rtp_transport,
rtc::PacketTransportInternal rtcp_transport,
rtc::Thread signaling_thread,
const std::string content_name,
bool  srtp_required,
const AudioOptions options 
)

◆ CreateVoiceChannel() [4/4]

VoiceChannel* cricket::ChannelManager::CreateVoiceChannel ( webrtc::MediaControllerInterface media_controller,
rtc::PacketTransportInternal rtp_transport,
rtc::PacketTransportInternal rtcp_transport,
rtc::Thread signaling_thread,
const std::string content_name,
bool  srtp_required,
const AudioOptions options 
)

◆ DestroyRtpDataChannel() [1/2]

void cricket::ChannelManager::DestroyRtpDataChannel ( RtpDataChannel data_channel)

◆ DestroyRtpDataChannel() [2/2]

void cricket::ChannelManager::DestroyRtpDataChannel ( RtpDataChannel data_channel)

◆ DestroyVideoChannel() [1/2]

void cricket::ChannelManager::DestroyVideoChannel ( VideoChannel video_channel)

◆ DestroyVideoChannel() [2/2]

void cricket::ChannelManager::DestroyVideoChannel ( VideoChannel video_channel)

◆ DestroyVoiceChannel() [1/2]

void cricket::ChannelManager::DestroyVoiceChannel ( VoiceChannel voice_channel)

◆ DestroyVoiceChannel() [2/2]

void cricket::ChannelManager::DestroyVoiceChannel ( VoiceChannel voice_channel)

◆ GetSupportedAudioReceiveCodecs() [1/2]

void cricket::ChannelManager::GetSupportedAudioReceiveCodecs ( std::vector< AudioCodec > *  codecs) const

◆ GetSupportedAudioReceiveCodecs() [2/2]

void cricket::ChannelManager::GetSupportedAudioReceiveCodecs ( std::vector< AudioCodec > *  codecs) const

◆ GetSupportedAudioRtpHeaderExtensions() [1/2]

void cricket::ChannelManager::GetSupportedAudioRtpHeaderExtensions ( RtpHeaderExtensions ext) const

◆ GetSupportedAudioRtpHeaderExtensions() [2/2]

void cricket::ChannelManager::GetSupportedAudioRtpHeaderExtensions ( RtpHeaderExtensions ext) const

◆ GetSupportedAudioSendCodecs() [1/2]

void cricket::ChannelManager::GetSupportedAudioSendCodecs ( std::vector< AudioCodec > *  codecs) const

◆ GetSupportedAudioSendCodecs() [2/2]

void cricket::ChannelManager::GetSupportedAudioSendCodecs ( std::vector< AudioCodec > *  codecs) const

◆ GetSupportedDataCodecs() [1/2]

void cricket::ChannelManager::GetSupportedDataCodecs ( std::vector< DataCodec > *  codecs) const

◆ GetSupportedDataCodecs() [2/2]

void cricket::ChannelManager::GetSupportedDataCodecs ( std::vector< DataCodec > *  codecs) const

◆ GetSupportedVideoCodecs() [1/2]

void cricket::ChannelManager::GetSupportedVideoCodecs ( std::vector< VideoCodec > *  codecs) const

◆ GetSupportedVideoCodecs() [2/2]

void cricket::ChannelManager::GetSupportedVideoCodecs ( std::vector< VideoCodec > *  codecs) const

◆ GetSupportedVideoRtpHeaderExtensions() [1/2]

void cricket::ChannelManager::GetSupportedVideoRtpHeaderExtensions ( RtpHeaderExtensions ext) const

◆ GetSupportedVideoRtpHeaderExtensions() [2/2]

void cricket::ChannelManager::GetSupportedVideoRtpHeaderExtensions ( RtpHeaderExtensions ext) const

◆ has_channels() [1/2]

bool cricket::ChannelManager::has_channels ( ) const
inline

◆ has_channels() [2/2]

bool cricket::ChannelManager::has_channels ( ) const
inline

◆ Init() [1/2]

bool cricket::ChannelManager::Init ( )

◆ Init() [2/2]

bool cricket::ChannelManager::Init ( )

◆ initialized() [1/2]

bool cricket::ChannelManager::initialized ( ) const
inline

◆ initialized() [2/2]

bool cricket::ChannelManager::initialized ( ) const
inline

◆ media_engine() [1/2]

MediaEngineInterface* cricket::ChannelManager::media_engine ( )
inline

◆ media_engine() [2/2]

MediaEngineInterface* cricket::ChannelManager::media_engine ( )
inline

◆ network_thread() [1/2]

rtc::Thread* cricket::ChannelManager::network_thread ( ) const
inline

◆ network_thread() [2/2]

rtc::Thread* cricket::ChannelManager::network_thread ( ) const
inline

◆ set_network_thread() [1/2]

bool cricket::ChannelManager::set_network_thread ( rtc::Thread thread)
inline

◆ set_network_thread() [2/2]

bool cricket::ChannelManager::set_network_thread ( rtc::Thread thread)
inline

◆ set_worker_thread() [1/2]

bool cricket::ChannelManager::set_worker_thread ( rtc::Thread thread)
inline

◆ set_worker_thread() [2/2]

bool cricket::ChannelManager::set_worker_thread ( rtc::Thread thread)
inline

◆ SetCryptoOptions() [1/2]

bool cricket::ChannelManager::SetCryptoOptions ( const rtc::CryptoOptions crypto_options)

◆ SetCryptoOptions() [2/2]

bool cricket::ChannelManager::SetCryptoOptions ( const rtc::CryptoOptions crypto_options)

◆ SetVideoRtxEnabled() [1/2]

bool cricket::ChannelManager::SetVideoRtxEnabled ( bool  enable)

◆ SetVideoRtxEnabled() [2/2]

bool cricket::ChannelManager::SetVideoRtxEnabled ( bool  enable)

◆ StartAecDump() [1/2]

bool cricket::ChannelManager::StartAecDump ( rtc::PlatformFile  file,
int64_t  max_size_bytes 
)

◆ StartAecDump() [2/2]

bool cricket::ChannelManager::StartAecDump ( rtc::PlatformFile  file,
int64_t  max_size_bytes 
)

◆ StopAecDump() [1/2]

void cricket::ChannelManager::StopAecDump ( )

◆ StopAecDump() [2/2]

void cricket::ChannelManager::StopAecDump ( )

◆ Terminate() [1/2]

void cricket::ChannelManager::Terminate ( )

◆ Terminate() [2/2]

void cricket::ChannelManager::Terminate ( )

◆ worker_thread() [1/2]

rtc::Thread* cricket::ChannelManager::worker_thread ( ) const
inline

◆ worker_thread() [2/2]

rtc::Thread* cricket::ChannelManager::worker_thread ( ) const
inline

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