webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Public Attributes | List of all members
webrtc::WebRtcSession Class Reference

#include <webrtcsession.h>

Inheritance diagram for webrtc::WebRtcSession:
webrtc::DataChannelProviderInterface sigslot::has_slots<> webrtc::DataChannelProviderInterface sigslot::has_slots<> sigslot::has_slots_interface sigslot::has_slots_interface sigslot::has_slots_interface sigslot::has_slots_interface webrtc::MockWebRtcSession webrtc::MockWebRtcSession WebRtcSessionForTest

Public Types

enum  State {
  STATE_INIT = 0, STATE_SENTOFFER, STATE_RECEIVEDOFFER, STATE_SENTPRANSWER,
  STATE_RECEIVEDPRANSWER, STATE_INPROGRESS, STATE_CLOSED, STATE_INIT = 0,
  STATE_SENTOFFER, STATE_RECEIVEDOFFER, STATE_SENTPRANSWER, STATE_RECEIVEDPRANSWER,
  STATE_INPROGRESS, STATE_CLOSED
}
 
enum  Error {
  ERROR_NONE = 0, ERROR_CONTENT = 1, ERROR_TRANSPORT = 2, ERROR_NONE = 0,
  ERROR_CONTENT = 1, ERROR_TRANSPORT = 2
}
 
enum  State {
  STATE_INIT = 0, STATE_SENTOFFER, STATE_RECEIVEDOFFER, STATE_SENTPRANSWER,
  STATE_RECEIVEDPRANSWER, STATE_INPROGRESS, STATE_CLOSED, STATE_INIT = 0,
  STATE_SENTOFFER, STATE_RECEIVEDOFFER, STATE_SENTPRANSWER, STATE_RECEIVEDPRANSWER,
  STATE_INPROGRESS, STATE_CLOSED
}
 
enum  Error {
  ERROR_NONE = 0, ERROR_CONTENT = 1, ERROR_TRANSPORT = 2, ERROR_NONE = 0,
  ERROR_CONTENT = 1, ERROR_TRANSPORT = 2
}
 

Public Member Functions

 WebRtcSession (webrtc::MediaControllerInterface *media_controller, rtc::Thread *network_thread, rtc::Thread *worker_thread, rtc::Thread *signaling_thread, cricket::PortAllocator *port_allocator, std::unique_ptr< cricket::TransportController > transport_controller, std::unique_ptr< cricket::SctpTransportInternalFactory > sctp_factory)
 
virtual ~WebRtcSession ()
 
rtc::Threadnetwork_thread () const
 
rtc::Threadworker_thread () const
 
rtc::Threadsignaling_thread () const
 
const std::stringid () const
 
bool Initialize (const PeerConnectionFactoryInterface::Options &options, std::unique_ptr< rtc::RTCCertificateGeneratorInterface > cert_generator, const PeerConnectionInterface::RTCConfiguration &rtc_configuration)
 
void Close ()
 
bool initial_offerer () const
 
State state () const
 
Error error () const
 
const std::stringerror_desc () const
 
void RegisterIceObserver (IceObserver *observer)
 
virtual cricket::VoiceChannelvoice_channel ()
 
virtual cricket::VideoChannelvideo_channel ()
 
virtual cricket::RtpDataChannelrtp_data_channel ()
 
virtual rtc::Optional< std::stringsctp_content_name () const
 
virtual rtc::Optional< std::stringsctp_transport_name () const
 
cricket::BaseChannelGetChannel (const std::string &content_name)
 
cricket::SecurePolicy SdesPolicy () const
 
bool GetSctpSslRole (rtc::SSLRole *role)
 
bool GetSslRole (const std::string &content_name, rtc::SSLRole *role)
 
void CreateOffer (CreateSessionDescriptionObserver *observer, const PeerConnectionInterface::RTCOfferAnswerOptions &options, const cricket::MediaSessionOptions &session_options)
 
void CreateAnswer (CreateSessionDescriptionObserver *observer, const cricket::MediaSessionOptions &session_options)
 
bool SetLocalDescription (SessionDescriptionInterface *desc, std::string *err_desc)
 
bool SetRemoteDescription (SessionDescriptionInterface *desc, std::string *err_desc)
 
bool ProcessIceMessage (const IceCandidateInterface *ice_candidate)
 
bool RemoveRemoteIceCandidates (const std::vector< cricket::Candidate > &candidates)
 
cricket::IceConfig ParseIceConfig (const PeerConnectionInterface::RTCConfiguration &config) const
 
void SetIceConfig (const cricket::IceConfig &ice_config)
 
void MaybeStartGathering ()
 
const SessionDescriptionInterfacelocal_description () const
 
const SessionDescriptionInterfaceremote_description () const
 
const SessionDescriptionInterfacecurrent_local_description () const
 
const SessionDescriptionInterfacecurrent_remote_description () const
 
const SessionDescriptionInterfacepending_local_description () const
 
const SessionDescriptionInterfacepending_remote_description () const
 
virtual bool GetLocalTrackIdBySsrc (uint32_t ssrc, std::string *track_id)
 
virtual bool GetRemoteTrackIdBySsrc (uint32_t ssrc, std::string *track_id)
 
bool SendData (const cricket::SendDataParams &params, const rtc::CopyOnWriteBuffer &payload, cricket::SendDataResult *result) override
 
bool ConnectDataChannel (DataChannel *webrtc_data_channel) override
 
void DisconnectDataChannel (DataChannel *webrtc_data_channel) override
 
void AddSctpDataStream (int sid) override
 
void RemoveSctpDataStream (int sid) override
 
bool ReadyToSendData () const override
 
std::unique_ptr< SessionStatsGetStats_s ()
 
virtual std::unique_ptr< SessionStatsGetStats (const ChannelNamePairs &channel_name_pairs)
 
virtual bool GetLocalCertificate (const std::string &transport_name, rtc::scoped_refptr< rtc::RTCCertificate > *certificate)
 
virtual std::unique_ptr< rtc::SSLCertificateGetRemoteSSLCertificate (const std::string &transport_name)
 
cricket::DataChannelType data_channel_type () const
 
bool IceRestartPending (const std::string &content_name) const
 
void SetNeedsIceRestartFlag ()
 
bool NeedsIceRestart (const std::string &content_name) const
 
void OnCertificateReady (const rtc::scoped_refptr< rtc::RTCCertificate > &certificate)
 
void OnDtlsSrtpSetupFailure (cricket::BaseChannel *, bool rtcp)
 
bool waiting_for_certificate_for_testing () const
 
const rtc::scoped_refptr< rtc::RTCCertificate > & certificate_for_testing ()
 
void set_metrics_observer (webrtc::MetricsObserverInterface *metrics_observer)
 
 WebRtcSession (webrtc::MediaControllerInterface *media_controller, rtc::Thread *network_thread, rtc::Thread *worker_thread, rtc::Thread *signaling_thread, cricket::PortAllocator *port_allocator, std::unique_ptr< cricket::TransportController > transport_controller, std::unique_ptr< cricket::SctpTransportInternalFactory > sctp_factory)
 
virtual ~WebRtcSession ()
 
rtc::Threadnetwork_thread () const
 
rtc::Threadworker_thread () const
 
rtc::Threadsignaling_thread () const
 
const std::stringid () const
 
bool Initialize (const PeerConnectionFactoryInterface::Options &options, std::unique_ptr< rtc::RTCCertificateGeneratorInterface > cert_generator, const PeerConnectionInterface::RTCConfiguration &rtc_configuration)
 
void Close ()
 
bool initial_offerer () const
 
State state () const
 
Error error () const
 
const std::stringerror_desc () const
 
void RegisterIceObserver (IceObserver *observer)
 
virtual cricket::VoiceChannelvoice_channel ()
 
virtual cricket::VideoChannelvideo_channel ()
 
virtual cricket::RtpDataChannelrtp_data_channel ()
 
virtual rtc::Optional< std::stringsctp_content_name () const
 
virtual rtc::Optional< std::stringsctp_transport_name () const
 
cricket::BaseChannelGetChannel (const std::string &content_name)
 
cricket::SecurePolicy SdesPolicy () const
 
bool GetSctpSslRole (rtc::SSLRole *role)
 
bool GetSslRole (const std::string &content_name, rtc::SSLRole *role)
 
void CreateOffer (CreateSessionDescriptionObserver *observer, const PeerConnectionInterface::RTCOfferAnswerOptions &options, const cricket::MediaSessionOptions &session_options)
 
void CreateAnswer (CreateSessionDescriptionObserver *observer, const cricket::MediaSessionOptions &session_options)
 
bool SetLocalDescription (SessionDescriptionInterface *desc, std::string *err_desc)
 
bool SetRemoteDescription (SessionDescriptionInterface *desc, std::string *err_desc)
 
bool ProcessIceMessage (const IceCandidateInterface *ice_candidate)
 
bool RemoveRemoteIceCandidates (const std::vector< cricket::Candidate > &candidates)
 
cricket::IceConfig ParseIceConfig (const PeerConnectionInterface::RTCConfiguration &config) const
 
void SetIceConfig (const cricket::IceConfig &ice_config)
 
void MaybeStartGathering ()
 
const SessionDescriptionInterfacelocal_description () const
 
const SessionDescriptionInterfaceremote_description () const
 
const SessionDescriptionInterfacecurrent_local_description () const
 
const SessionDescriptionInterfacecurrent_remote_description () const
 
const SessionDescriptionInterfacepending_local_description () const
 
const SessionDescriptionInterfacepending_remote_description () const
 
virtual bool GetLocalTrackIdBySsrc (uint32_t ssrc, std::string *track_id)
 
virtual bool GetRemoteTrackIdBySsrc (uint32_t ssrc, std::string *track_id)
 
bool SendData (const cricket::SendDataParams &params, const rtc::CopyOnWriteBuffer &payload, cricket::SendDataResult *result) override
 
bool ConnectDataChannel (DataChannel *webrtc_data_channel) override
 
void DisconnectDataChannel (DataChannel *webrtc_data_channel) override
 
void AddSctpDataStream (int sid) override
 
void RemoveSctpDataStream (int sid) override
 
bool ReadyToSendData () const override
 
std::unique_ptr< SessionStatsGetStats_s ()
 
virtual std::unique_ptr< SessionStatsGetStats (const ChannelNamePairs &channel_name_pairs)
 
virtual bool GetLocalCertificate (const std::string &transport_name, rtc::scoped_refptr< rtc::RTCCertificate > *certificate)
 
virtual std::unique_ptr< rtc::SSLCertificateGetRemoteSSLCertificate (const std::string &transport_name)
 
cricket::DataChannelType data_channel_type () const
 
bool IceRestartPending (const std::string &content_name) const
 
void SetNeedsIceRestartFlag ()
 
bool NeedsIceRestart (const std::string &content_name) const
 
void OnCertificateReady (const rtc::scoped_refptr< rtc::RTCCertificate > &certificate)
 
void OnDtlsSrtpSetupFailure (cricket::BaseChannel *, bool rtcp)
 
bool waiting_for_certificate_for_testing () const
 
const rtc::scoped_refptr< rtc::RTCCertificate > & certificate_for_testing ()
 
void set_metrics_observer (webrtc::MetricsObserverInterface *metrics_observer)
 
- 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 ()
 

Public Attributes

sigslot::signal2< WebRtcSession *, StateSignalState
 
sigslot::signal0 SignalVoiceChannelCreated
 
sigslot::signal0 SignalVoiceChannelDestroyed
 
sigslot::signal0 SignalVideoChannelCreated
 
sigslot::signal0 SignalVideoChannelDestroyed
 
sigslot::signal0 SignalDataChannelCreated
 
sigslot::signal0 SignalDataChannelDestroyed
 
sigslot::signal2< const std::string &, const InternalDataChannelInit & > SignalDataChannelOpenMessage
 

Additional Inherited Members

- Protected Member Functions inherited from webrtc::DataChannelProviderInterface
virtual ~DataChannelProviderInterface ()
 
virtual ~DataChannelProviderInterface ()
 
- 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 ()
 

Member Enumeration Documentation

◆ Error [1/2]

Enumerator
ERROR_NONE 
ERROR_CONTENT 
ERROR_TRANSPORT 
ERROR_NONE 
ERROR_CONTENT 
ERROR_TRANSPORT 

◆ Error [2/2]

Enumerator
ERROR_NONE 
ERROR_CONTENT 
ERROR_TRANSPORT 
ERROR_NONE 
ERROR_CONTENT 
ERROR_TRANSPORT 

◆ State [1/2]

Enumerator
STATE_INIT 
STATE_SENTOFFER 
STATE_RECEIVEDOFFER 
STATE_SENTPRANSWER 
STATE_RECEIVEDPRANSWER 
STATE_INPROGRESS 
STATE_CLOSED 
STATE_INIT 
STATE_SENTOFFER 
STATE_RECEIVEDOFFER 
STATE_SENTPRANSWER 
STATE_RECEIVEDPRANSWER 
STATE_INPROGRESS 
STATE_CLOSED 

◆ State [2/2]

Enumerator
STATE_INIT 
STATE_SENTOFFER 
STATE_RECEIVEDOFFER 
STATE_SENTPRANSWER 
STATE_RECEIVEDPRANSWER 
STATE_INPROGRESS 
STATE_CLOSED 
STATE_INIT 
STATE_SENTOFFER 
STATE_RECEIVEDOFFER 
STATE_SENTPRANSWER 
STATE_RECEIVEDPRANSWER 
STATE_INPROGRESS 
STATE_CLOSED 

Constructor & Destructor Documentation

◆ WebRtcSession() [1/2]

webrtc::WebRtcSession::WebRtcSession ( webrtc::MediaControllerInterface media_controller,
rtc::Thread network_thread,
rtc::Thread worker_thread,
rtc::Thread signaling_thread,
cricket::PortAllocator port_allocator,
std::unique_ptr< cricket::TransportController transport_controller,
std::unique_ptr< cricket::SctpTransportInternalFactory sctp_factory 
)

◆ ~WebRtcSession() [1/2]

webrtc::WebRtcSession::~WebRtcSession ( )
virtual

◆ WebRtcSession() [2/2]

webrtc::WebRtcSession::WebRtcSession ( webrtc::MediaControllerInterface media_controller,
rtc::Thread network_thread,
rtc::Thread worker_thread,
rtc::Thread signaling_thread,
cricket::PortAllocator port_allocator,
std::unique_ptr< cricket::TransportController transport_controller,
std::unique_ptr< cricket::SctpTransportInternalFactory sctp_factory 
)

◆ ~WebRtcSession() [2/2]

virtual webrtc::WebRtcSession::~WebRtcSession ( )
virtual

Member Function Documentation

◆ AddSctpDataStream() [1/2]

void webrtc::WebRtcSession::AddSctpDataStream ( int  sid)
overridevirtual

◆ AddSctpDataStream() [2/2]

void webrtc::WebRtcSession::AddSctpDataStream ( int  sid)
overridevirtual

◆ certificate_for_testing() [1/2]

const rtc::scoped_refptr< rtc::RTCCertificate > & webrtc::WebRtcSession::certificate_for_testing ( )

◆ certificate_for_testing() [2/2]

const rtc::scoped_refptr<rtc::RTCCertificate>& webrtc::WebRtcSession::certificate_for_testing ( )

◆ Close() [1/2]

void webrtc::WebRtcSession::Close ( )

◆ Close() [2/2]

void webrtc::WebRtcSession::Close ( )

◆ ConnectDataChannel() [1/2]

bool webrtc::WebRtcSession::ConnectDataChannel ( DataChannel webrtc_data_channel)
overridevirtual

◆ ConnectDataChannel() [2/2]

bool webrtc::WebRtcSession::ConnectDataChannel ( DataChannel webrtc_data_channel)
overridevirtual

◆ CreateAnswer() [1/2]

void webrtc::WebRtcSession::CreateAnswer ( CreateSessionDescriptionObserver observer,
const cricket::MediaSessionOptions session_options 
)

◆ CreateAnswer() [2/2]

void webrtc::WebRtcSession::CreateAnswer ( CreateSessionDescriptionObserver observer,
const cricket::MediaSessionOptions session_options 
)

◆ CreateOffer() [1/2]

void webrtc::WebRtcSession::CreateOffer ( CreateSessionDescriptionObserver observer,
const PeerConnectionInterface::RTCOfferAnswerOptions options,
const cricket::MediaSessionOptions session_options 
)

◆ CreateOffer() [2/2]

void webrtc::WebRtcSession::CreateOffer ( CreateSessionDescriptionObserver observer,
const PeerConnectionInterface::RTCOfferAnswerOptions options,
const cricket::MediaSessionOptions session_options 
)

◆ current_local_description() [1/2]

const SessionDescriptionInterface* webrtc::WebRtcSession::current_local_description ( ) const
inline

◆ current_local_description() [2/2]

const SessionDescriptionInterface* webrtc::WebRtcSession::current_local_description ( ) const
inline

◆ current_remote_description() [1/2]

const SessionDescriptionInterface* webrtc::WebRtcSession::current_remote_description ( ) const
inline

◆ current_remote_description() [2/2]

const SessionDescriptionInterface* webrtc::WebRtcSession::current_remote_description ( ) const
inline

◆ data_channel_type() [1/2]

cricket::DataChannelType webrtc::WebRtcSession::data_channel_type ( ) const

◆ data_channel_type() [2/2]

cricket::DataChannelType webrtc::WebRtcSession::data_channel_type ( ) const

◆ DisconnectDataChannel() [1/2]

void webrtc::WebRtcSession::DisconnectDataChannel ( DataChannel webrtc_data_channel)
overridevirtual

◆ DisconnectDataChannel() [2/2]

void webrtc::WebRtcSession::DisconnectDataChannel ( DataChannel webrtc_data_channel)
overridevirtual

◆ error() [1/2]

Error webrtc::WebRtcSession::error ( ) const
inline

◆ error() [2/2]

Error webrtc::WebRtcSession::error ( ) const
inline

◆ error_desc() [1/2]

const std::string& webrtc::WebRtcSession::error_desc ( ) const
inline

◆ error_desc() [2/2]

const std::string& webrtc::WebRtcSession::error_desc ( ) const
inline

◆ GetChannel() [1/2]

cricket::BaseChannel * webrtc::WebRtcSession::GetChannel ( const std::string content_name)

◆ GetChannel() [2/2]

cricket::BaseChannel* webrtc::WebRtcSession::GetChannel ( const std::string content_name)

◆ GetLocalCertificate() [1/2]

bool webrtc::WebRtcSession::GetLocalCertificate ( const std::string transport_name,
rtc::scoped_refptr< rtc::RTCCertificate > *  certificate 
)
virtual

◆ GetLocalCertificate() [2/2]

virtual bool webrtc::WebRtcSession::GetLocalCertificate ( const std::string transport_name,
rtc::scoped_refptr< rtc::RTCCertificate > *  certificate 
)
virtual

◆ GetLocalTrackIdBySsrc() [1/2]

bool webrtc::WebRtcSession::GetLocalTrackIdBySsrc ( uint32_t  ssrc,
std::string track_id 
)
virtual

◆ GetLocalTrackIdBySsrc() [2/2]

virtual bool webrtc::WebRtcSession::GetLocalTrackIdBySsrc ( uint32_t  ssrc,
std::string track_id 
)
virtual

◆ GetRemoteSSLCertificate() [1/2]

std::unique_ptr< rtc::SSLCertificate > webrtc::WebRtcSession::GetRemoteSSLCertificate ( const std::string transport_name)
virtual

◆ GetRemoteSSLCertificate() [2/2]

virtual std::unique_ptr<rtc::SSLCertificate> webrtc::WebRtcSession::GetRemoteSSLCertificate ( const std::string transport_name)
virtual

◆ GetRemoteTrackIdBySsrc() [1/2]

bool webrtc::WebRtcSession::GetRemoteTrackIdBySsrc ( uint32_t  ssrc,
std::string track_id 
)
virtual

◆ GetRemoteTrackIdBySsrc() [2/2]

virtual bool webrtc::WebRtcSession::GetRemoteTrackIdBySsrc ( uint32_t  ssrc,
std::string track_id 
)
virtual

◆ GetSctpSslRole() [1/2]

bool webrtc::WebRtcSession::GetSctpSslRole ( rtc::SSLRole role)

◆ GetSctpSslRole() [2/2]

bool webrtc::WebRtcSession::GetSctpSslRole ( rtc::SSLRole role)

◆ GetSslRole() [1/2]

bool webrtc::WebRtcSession::GetSslRole ( const std::string content_name,
rtc::SSLRole role 
)

◆ GetSslRole() [2/2]

bool webrtc::WebRtcSession::GetSslRole ( const std::string content_name,
rtc::SSLRole role 
)

◆ GetStats() [1/2]

virtual std::unique_ptr<SessionStats> webrtc::WebRtcSession::GetStats ( const ChannelNamePairs channel_name_pairs)
virtual

◆ GetStats() [2/2]

std::unique_ptr< SessionStats > webrtc::WebRtcSession::GetStats ( const ChannelNamePairs channel_name_pairs)
virtual

◆ GetStats_s() [1/2]

std::unique_ptr< SessionStats > webrtc::WebRtcSession::GetStats_s ( )

◆ GetStats_s() [2/2]

std::unique_ptr<SessionStats> webrtc::WebRtcSession::GetStats_s ( )

◆ IceRestartPending() [1/2]

bool webrtc::WebRtcSession::IceRestartPending ( const std::string content_name) const

◆ IceRestartPending() [2/2]

bool webrtc::WebRtcSession::IceRestartPending ( const std::string content_name) const

◆ id() [1/2]

const std::string& webrtc::WebRtcSession::id ( ) const
inline

◆ id() [2/2]

const std::string& webrtc::WebRtcSession::id ( ) const
inline

◆ initial_offerer() [1/2]

bool webrtc::WebRtcSession::initial_offerer ( ) const
inline

◆ initial_offerer() [2/2]

bool webrtc::WebRtcSession::initial_offerer ( ) const
inline

◆ Initialize() [1/2]

bool webrtc::WebRtcSession::Initialize ( const PeerConnectionFactoryInterface::Options options,
std::unique_ptr< rtc::RTCCertificateGeneratorInterface cert_generator,
const PeerConnectionInterface::RTCConfiguration rtc_configuration 
)

◆ Initialize() [2/2]

bool webrtc::WebRtcSession::Initialize ( const PeerConnectionFactoryInterface::Options options,
std::unique_ptr< rtc::RTCCertificateGeneratorInterface cert_generator,
const PeerConnectionInterface::RTCConfiguration rtc_configuration 
)

◆ local_description() [1/2]

const SessionDescriptionInterface* webrtc::WebRtcSession::local_description ( ) const
inline

◆ local_description() [2/2]

const SessionDescriptionInterface* webrtc::WebRtcSession::local_description ( ) const
inline

◆ MaybeStartGathering() [1/2]

void webrtc::WebRtcSession::MaybeStartGathering ( )

◆ MaybeStartGathering() [2/2]

void webrtc::WebRtcSession::MaybeStartGathering ( )

◆ NeedsIceRestart() [1/2]

bool webrtc::WebRtcSession::NeedsIceRestart ( const std::string content_name) const

◆ NeedsIceRestart() [2/2]

bool webrtc::WebRtcSession::NeedsIceRestart ( const std::string content_name) const

◆ network_thread() [1/2]

rtc::Thread* webrtc::WebRtcSession::network_thread ( ) const
inline

◆ network_thread() [2/2]

rtc::Thread* webrtc::WebRtcSession::network_thread ( ) const
inline

◆ OnCertificateReady() [1/2]

void webrtc::WebRtcSession::OnCertificateReady ( const rtc::scoped_refptr< rtc::RTCCertificate > &  certificate)

◆ OnCertificateReady() [2/2]

void webrtc::WebRtcSession::OnCertificateReady ( const rtc::scoped_refptr< rtc::RTCCertificate > &  certificate)

◆ OnDtlsSrtpSetupFailure() [1/2]

void webrtc::WebRtcSession::OnDtlsSrtpSetupFailure ( cricket::BaseChannel ,
bool  rtcp 
)

◆ OnDtlsSrtpSetupFailure() [2/2]

void webrtc::WebRtcSession::OnDtlsSrtpSetupFailure ( cricket::BaseChannel ,
bool  rtcp 
)

◆ ParseIceConfig() [1/2]

cricket::IceConfig webrtc::WebRtcSession::ParseIceConfig ( const PeerConnectionInterface::RTCConfiguration config) const

◆ ParseIceConfig() [2/2]

cricket::IceConfig webrtc::WebRtcSession::ParseIceConfig ( const PeerConnectionInterface::RTCConfiguration config) const

◆ pending_local_description() [1/2]

const SessionDescriptionInterface* webrtc::WebRtcSession::pending_local_description ( ) const
inline

◆ pending_local_description() [2/2]

const SessionDescriptionInterface* webrtc::WebRtcSession::pending_local_description ( ) const
inline

◆ pending_remote_description() [1/2]

const SessionDescriptionInterface* webrtc::WebRtcSession::pending_remote_description ( ) const
inline

◆ pending_remote_description() [2/2]

const SessionDescriptionInterface* webrtc::WebRtcSession::pending_remote_description ( ) const
inline

◆ ProcessIceMessage() [1/2]

bool webrtc::WebRtcSession::ProcessIceMessage ( const IceCandidateInterface ice_candidate)

◆ ProcessIceMessage() [2/2]

bool webrtc::WebRtcSession::ProcessIceMessage ( const IceCandidateInterface ice_candidate)

◆ ReadyToSendData() [1/2]

bool webrtc::WebRtcSession::ReadyToSendData ( ) const
overridevirtual

◆ ReadyToSendData() [2/2]

bool webrtc::WebRtcSession::ReadyToSendData ( ) const
overridevirtual

◆ RegisterIceObserver() [1/2]

void webrtc::WebRtcSession::RegisterIceObserver ( IceObserver observer)
inline

◆ RegisterIceObserver() [2/2]

void webrtc::WebRtcSession::RegisterIceObserver ( IceObserver observer)
inline

◆ remote_description() [1/2]

const SessionDescriptionInterface* webrtc::WebRtcSession::remote_description ( ) const
inline

◆ remote_description() [2/2]

const SessionDescriptionInterface* webrtc::WebRtcSession::remote_description ( ) const
inline

◆ RemoveRemoteIceCandidates() [1/2]

bool webrtc::WebRtcSession::RemoveRemoteIceCandidates ( const std::vector< cricket::Candidate > &  candidates)

◆ RemoveRemoteIceCandidates() [2/2]

bool webrtc::WebRtcSession::RemoveRemoteIceCandidates ( const std::vector< cricket::Candidate > &  candidates)

◆ RemoveSctpDataStream() [1/2]

void webrtc::WebRtcSession::RemoveSctpDataStream ( int  sid)
overridevirtual

◆ RemoveSctpDataStream() [2/2]

void webrtc::WebRtcSession::RemoveSctpDataStream ( int  sid)
overridevirtual

◆ rtp_data_channel() [1/2]

virtual cricket::RtpDataChannel* webrtc::WebRtcSession::rtp_data_channel ( )
inlinevirtual

◆ rtp_data_channel() [2/2]

virtual cricket::RtpDataChannel* webrtc::WebRtcSession::rtp_data_channel ( )
inlinevirtual

◆ sctp_content_name() [1/2]

virtual rtc::Optional<std::string> webrtc::WebRtcSession::sctp_content_name ( ) const
inlinevirtual

◆ sctp_content_name() [2/2]

virtual rtc::Optional<std::string> webrtc::WebRtcSession::sctp_content_name ( ) const
inlinevirtual

◆ sctp_transport_name() [1/2]

virtual rtc::Optional<std::string> webrtc::WebRtcSession::sctp_transport_name ( ) const
inlinevirtual

◆ sctp_transport_name() [2/2]

virtual rtc::Optional<std::string> webrtc::WebRtcSession::sctp_transport_name ( ) const
inlinevirtual

◆ SdesPolicy() [1/2]

cricket::SecurePolicy webrtc::WebRtcSession::SdesPolicy ( ) const

◆ SdesPolicy() [2/2]

cricket::SecurePolicy webrtc::WebRtcSession::SdesPolicy ( ) const

◆ SendData() [1/2]

bool webrtc::WebRtcSession::SendData ( const cricket::SendDataParams params,
const rtc::CopyOnWriteBuffer payload,
cricket::SendDataResult result 
)
overridevirtual

◆ SendData() [2/2]

bool webrtc::WebRtcSession::SendData ( const cricket::SendDataParams params,
const rtc::CopyOnWriteBuffer payload,
cricket::SendDataResult result 
)
overridevirtual

◆ set_metrics_observer() [1/2]

void webrtc::WebRtcSession::set_metrics_observer ( webrtc::MetricsObserverInterface metrics_observer)
inline

◆ set_metrics_observer() [2/2]

void webrtc::WebRtcSession::set_metrics_observer ( webrtc::MetricsObserverInterface metrics_observer)
inline

◆ SetIceConfig() [1/2]

void webrtc::WebRtcSession::SetIceConfig ( const cricket::IceConfig ice_config)

◆ SetIceConfig() [2/2]

void webrtc::WebRtcSession::SetIceConfig ( const cricket::IceConfig ice_config)

◆ SetLocalDescription() [1/2]

bool webrtc::WebRtcSession::SetLocalDescription ( SessionDescriptionInterface desc,
std::string err_desc 
)

◆ SetLocalDescription() [2/2]

bool webrtc::WebRtcSession::SetLocalDescription ( SessionDescriptionInterface desc,
std::string err_desc 
)

◆ SetNeedsIceRestartFlag() [1/2]

void webrtc::WebRtcSession::SetNeedsIceRestartFlag ( )

◆ SetNeedsIceRestartFlag() [2/2]

void webrtc::WebRtcSession::SetNeedsIceRestartFlag ( )

◆ SetRemoteDescription() [1/2]

bool webrtc::WebRtcSession::SetRemoteDescription ( SessionDescriptionInterface desc,
std::string err_desc 
)

◆ SetRemoteDescription() [2/2]

bool webrtc::WebRtcSession::SetRemoteDescription ( SessionDescriptionInterface desc,
std::string err_desc 
)

◆ signaling_thread() [1/2]

rtc::Thread* webrtc::WebRtcSession::signaling_thread ( ) const
inline

◆ signaling_thread() [2/2]

rtc::Thread* webrtc::WebRtcSession::signaling_thread ( ) const
inline

◆ state() [1/2]

State webrtc::WebRtcSession::state ( ) const
inline

◆ state() [2/2]

State webrtc::WebRtcSession::state ( ) const
inline

◆ video_channel() [1/2]

virtual cricket::VideoChannel* webrtc::WebRtcSession::video_channel ( )
inlinevirtual

◆ video_channel() [2/2]

virtual cricket::VideoChannel* webrtc::WebRtcSession::video_channel ( )
inlinevirtual

◆ voice_channel() [1/2]

virtual cricket::VoiceChannel* webrtc::WebRtcSession::voice_channel ( )
inlinevirtual

◆ voice_channel() [2/2]

virtual cricket::VoiceChannel* webrtc::WebRtcSession::voice_channel ( )
inlinevirtual

◆ waiting_for_certificate_for_testing() [1/2]

bool webrtc::WebRtcSession::waiting_for_certificate_for_testing ( ) const

◆ waiting_for_certificate_for_testing() [2/2]

bool webrtc::WebRtcSession::waiting_for_certificate_for_testing ( ) const

◆ worker_thread() [1/2]

rtc::Thread* webrtc::WebRtcSession::worker_thread ( ) const
inline

◆ worker_thread() [2/2]

rtc::Thread* webrtc::WebRtcSession::worker_thread ( ) const
inline

Member Data Documentation

◆ SignalDataChannelCreated

sigslot::signal0 webrtc::WebRtcSession::SignalDataChannelCreated

◆ SignalDataChannelDestroyed

sigslot::signal0 webrtc::WebRtcSession::SignalDataChannelDestroyed

◆ SignalDataChannelOpenMessage

sigslot::signal2< const std::string &, const InternalDataChannelInit & > webrtc::WebRtcSession::SignalDataChannelOpenMessage

◆ SignalState

sigslot::signal2< WebRtcSession *, State > webrtc::WebRtcSession::SignalState

◆ SignalVideoChannelCreated

sigslot::signal0 webrtc::WebRtcSession::SignalVideoChannelCreated

◆ SignalVideoChannelDestroyed

sigslot::signal0 webrtc::WebRtcSession::SignalVideoChannelDestroyed

◆ SignalVoiceChannelCreated

sigslot::signal0 webrtc::WebRtcSession::SignalVoiceChannelCreated

◆ SignalVoiceChannelDestroyed

sigslot::signal0 webrtc::WebRtcSession::SignalVoiceChannelDestroyed

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