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

#include <peerconnection.h>

Inheritance diagram for webrtc::PeerConnection:
sigslot::has_slots<> rtc::MessageHandler webrtc::IceObserver webrtc::PeerConnectionInterface sigslot::has_slots<> rtc::MessageHandler webrtc::IceObserver webrtc::PeerConnectionInterface rtc::RefCountedObject< webrtc::PeerConnection > rtc::RefCountedObject< webrtc::PeerConnection > webrtc::MockPeerConnection webrtc::MockPeerConnection webrtc::MockPeerConnection webrtc::MockPeerConnection

Public Member Functions

 PeerConnection (PeerConnectionFactory *factory)
 
bool Initialize (const PeerConnectionInterface::RTCConfiguration &configuration, std::unique_ptr< cricket::PortAllocator > allocator, std::unique_ptr< rtc::RTCCertificateGeneratorInterface > cert_generator, PeerConnectionObserver *observer)
 
rtc::scoped_refptr< StreamCollectionInterfacelocal_streams () override
 
rtc::scoped_refptr< StreamCollectionInterfaceremote_streams () override
 
bool AddStream (MediaStreamInterface *local_stream) override
 
void RemoveStream (MediaStreamInterface *local_stream) override
 
rtc::scoped_refptr< RtpSenderInterfaceAddTrack (MediaStreamTrackInterface *track, std::vector< MediaStreamInterface *> streams) override
 
bool RemoveTrack (RtpSenderInterface *sender) override
 
virtual WebRtcSessionsession ()
 
rtc::scoped_refptr< DtmfSenderInterfaceCreateDtmfSender (AudioTrackInterface *track) override
 
rtc::scoped_refptr< RtpSenderInterfaceCreateSender (const std::string &kind, const std::string &stream_id) override
 
std::vector< rtc::scoped_refptr< RtpSenderInterface > > GetSenders () const override
 
std::vector< rtc::scoped_refptr< RtpReceiverInterface > > GetReceivers () const override
 
rtc::scoped_refptr< DataChannelInterfaceCreateDataChannel (const std::string &label, const DataChannelInit *config) override
 
bool GetStats (StatsObserver *observer, webrtc::MediaStreamTrackInterface *track, StatsOutputLevel level) override
 
void GetStats (RTCStatsCollectorCallback *callback) override
 
SignalingState signaling_state () override
 
IceConnectionState ice_connection_state () override
 
IceGatheringState ice_gathering_state () override
 
const SessionDescriptionInterfacelocal_description () const override
 
const SessionDescriptionInterfaceremote_description () const override
 
const SessionDescriptionInterfacecurrent_local_description () const override
 
const SessionDescriptionInterfacecurrent_remote_description () const override
 
const SessionDescriptionInterfacepending_local_description () const override
 
const SessionDescriptionInterfacepending_remote_description () const override
 
void CreateOffer (CreateSessionDescriptionObserver *observer, const MediaConstraintsInterface *constraints) override
 
void CreateOffer (CreateSessionDescriptionObserver *observer, const RTCOfferAnswerOptions &options) override
 
void CreateAnswer (CreateSessionDescriptionObserver *observer, const MediaConstraintsInterface *constraints) override
 
void CreateAnswer (CreateSessionDescriptionObserver *observer, const RTCOfferAnswerOptions &options) override
 
void SetLocalDescription (SetSessionDescriptionObserver *observer, SessionDescriptionInterface *desc) override
 
void SetRemoteDescription (SetSessionDescriptionObserver *observer, SessionDescriptionInterface *desc) override
 
PeerConnectionInterface::RTCConfiguration GetConfiguration () override
 
bool SetConfiguration (const PeerConnectionInterface::RTCConfiguration &configuration, RTCError *error) override
 
bool SetConfiguration (const PeerConnectionInterface::RTCConfiguration &configuration) override
 
bool AddIceCandidate (const IceCandidateInterface *candidate) override
 
bool RemoveIceCandidates (const std::vector< cricket::Candidate > &candidates) override
 
void RegisterUMAObserver (UMAObserver *observer) override
 
bool StartRtcEventLog (rtc::PlatformFile file, int64_t max_size_bytes) override
 
void StopRtcEventLog () override
 
void Close () override
 
virtual const std::vector< rtc::scoped_refptr< DataChannel > > & sctp_data_channels () const
 
 PeerConnection (PeerConnectionFactory *factory)
 
bool Initialize (const PeerConnectionInterface::RTCConfiguration &configuration, std::unique_ptr< cricket::PortAllocator > allocator, std::unique_ptr< rtc::RTCCertificateGeneratorInterface > cert_generator, PeerConnectionObserver *observer)
 
rtc::scoped_refptr< StreamCollectionInterfacelocal_streams () override
 
rtc::scoped_refptr< StreamCollectionInterfaceremote_streams () override
 
bool AddStream (MediaStreamInterface *local_stream) override
 
void RemoveStream (MediaStreamInterface *local_stream) override
 
rtc::scoped_refptr< RtpSenderInterfaceAddTrack (MediaStreamTrackInterface *track, std::vector< MediaStreamInterface *> streams) override
 
bool RemoveTrack (RtpSenderInterface *sender) override
 
virtual WebRtcSessionsession ()
 
rtc::scoped_refptr< DtmfSenderInterfaceCreateDtmfSender (AudioTrackInterface *track) override
 
rtc::scoped_refptr< RtpSenderInterfaceCreateSender (const std::string &kind, const std::string &stream_id) override
 
std::vector< rtc::scoped_refptr< RtpSenderInterface > > GetSenders () const override
 
std::vector< rtc::scoped_refptr< RtpReceiverInterface > > GetReceivers () const override
 
rtc::scoped_refptr< DataChannelInterfaceCreateDataChannel (const std::string &label, const DataChannelInit *config) override
 
bool GetStats (StatsObserver *observer, webrtc::MediaStreamTrackInterface *track, StatsOutputLevel level) override
 
void GetStats (RTCStatsCollectorCallback *callback) override
 
SignalingState signaling_state () override
 
IceConnectionState ice_connection_state () override
 
IceGatheringState ice_gathering_state () override
 
const SessionDescriptionInterfacelocal_description () const override
 
const SessionDescriptionInterfaceremote_description () const override
 
const SessionDescriptionInterfacecurrent_local_description () const override
 
const SessionDescriptionInterfacecurrent_remote_description () const override
 
const SessionDescriptionInterfacepending_local_description () const override
 
const SessionDescriptionInterfacepending_remote_description () const override
 
void CreateOffer (CreateSessionDescriptionObserver *observer, const MediaConstraintsInterface *constraints) override
 
void CreateOffer (CreateSessionDescriptionObserver *observer, const RTCOfferAnswerOptions &options) override
 
void CreateAnswer (CreateSessionDescriptionObserver *observer, const MediaConstraintsInterface *constraints) override
 
void CreateAnswer (CreateSessionDescriptionObserver *observer, const RTCOfferAnswerOptions &options) override
 
void SetLocalDescription (SetSessionDescriptionObserver *observer, SessionDescriptionInterface *desc) override
 
void SetRemoteDescription (SetSessionDescriptionObserver *observer, SessionDescriptionInterface *desc) override
 
PeerConnectionInterface::RTCConfiguration GetConfiguration () override
 
bool SetConfiguration (const PeerConnectionInterface::RTCConfiguration &configuration, RTCError *error) override
 
bool SetConfiguration (const PeerConnectionInterface::RTCConfiguration &configuration) override
 
bool AddIceCandidate (const IceCandidateInterface *candidate) override
 
bool RemoveIceCandidates (const std::vector< cricket::Candidate > &candidates) override
 
void RegisterUMAObserver (UMAObserver *observer) override
 
bool StartRtcEventLog (rtc::PlatformFile file, int64_t max_size_bytes) override
 
void StopRtcEventLog () override
 
void Close () override
 
virtual const std::vector< rtc::scoped_refptr< DataChannel > > & sctp_data_channels () const
 
- Public Member Functions inherited from webrtc::PeerConnectionInterface
virtual bool UpdateIce (const IceServers &, const MediaConstraintsInterface *)
 
virtual bool UpdateIce (const IceServers &)
 
virtual bool UpdateIce (const IceServers &, const MediaConstraintsInterface *)
 
virtual bool UpdateIce (const IceServers &)
 
- Public Member Functions inherited from rtc::RefCountInterface
virtual int AddRef () const =0
 
virtual int Release () const =0
 
virtual int AddRef () const =0
 
virtual int Release () const =0
 
- Public Member Functions inherited from webrtc::IceObserver
 IceObserver ()
 
virtual void OnIceConnectionChange (PeerConnectionInterface::IceConnectionState new_state)
 
virtual void OnIceGatheringChange (PeerConnectionInterface::IceGatheringState new_state)
 
 IceObserver ()
 
virtual void OnIceConnectionChange (PeerConnectionInterface::IceConnectionState new_state)
 
virtual void OnIceGatheringChange (PeerConnectionInterface::IceGatheringState new_state)
 
- Public Member Functions inherited from rtc::MessageHandler
virtual WEBRTC_DYLIB_EXPORT ~MessageHandler ()
 
virtual WEBRTC_DYLIB_EXPORT ~MessageHandler ()
 
- 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::signal1< DataChannel * > SignalDataChannelCreated
 

Protected Member Functions

 ~PeerConnection () override
 
 ~PeerConnection () override
 
- Protected Member Functions inherited from webrtc::PeerConnectionInterface
 ~PeerConnectionInterface ()
 
 ~PeerConnectionInterface ()
 
- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 
- Protected Member Functions inherited from webrtc::IceObserver
 ~IceObserver ()
 
 ~IceObserver ()
 
- Protected Member Functions inherited from rtc::MessageHandler
 MessageHandler ()
 
 MessageHandler ()
 
- 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 ()
 

Additional Inherited Members

- Public Types inherited from webrtc::PeerConnectionInterface
enum  SignalingState {
  kStable, kHaveLocalOffer, kHaveLocalPrAnswer, kHaveRemoteOffer,
  kHaveRemotePrAnswer, kClosed, kStable, kHaveLocalOffer,
  kHaveLocalPrAnswer, kHaveRemoteOffer, kHaveRemotePrAnswer, kClosed
}
 
enum  IceGatheringState {
  kIceGatheringNew, kIceGatheringGathering, kIceGatheringComplete, kIceGatheringNew,
  kIceGatheringGathering, kIceGatheringComplete
}
 
enum  IceConnectionState {
  kIceConnectionNew, kIceConnectionChecking, kIceConnectionConnected, kIceConnectionCompleted,
  kIceConnectionFailed, kIceConnectionDisconnected, kIceConnectionClosed, kIceConnectionMax,
  kIceConnectionNew, kIceConnectionChecking, kIceConnectionConnected, kIceConnectionCompleted,
  kIceConnectionFailed, kIceConnectionDisconnected, kIceConnectionClosed, kIceConnectionMax
}
 
enum  TlsCertPolicy { kTlsCertPolicySecure, kTlsCertPolicyInsecureNoCheck, kTlsCertPolicySecure, kTlsCertPolicyInsecureNoCheck }
 
enum  IceTransportsType {
  kNone, kRelay, kNoHost, kAll,
  kNone, kRelay, kNoHost, kAll
}
 
enum  BundlePolicy {
  kBundlePolicyBalanced, kBundlePolicyMaxBundle, kBundlePolicyMaxCompat, kBundlePolicyBalanced,
  kBundlePolicyMaxBundle, kBundlePolicyMaxCompat
}
 
enum  RtcpMuxPolicy { kRtcpMuxPolicyNegotiate, kRtcpMuxPolicyRequire, kRtcpMuxPolicyNegotiate, kRtcpMuxPolicyRequire }
 
enum  TcpCandidatePolicy { kTcpCandidatePolicyEnabled, kTcpCandidatePolicyDisabled, kTcpCandidatePolicyEnabled, kTcpCandidatePolicyDisabled }
 
enum  CandidateNetworkPolicy { kCandidateNetworkPolicyAll, kCandidateNetworkPolicyLowCost, kCandidateNetworkPolicyAll, kCandidateNetworkPolicyLowCost }
 
enum  ContinualGatheringPolicy { GATHER_ONCE, GATHER_CONTINUALLY, GATHER_ONCE, GATHER_CONTINUALLY }
 
enum  RTCConfigurationType { RTCConfigurationType::kSafe, RTCConfigurationType::kAggressive, RTCConfigurationType::kSafe, RTCConfigurationType::kAggressive }
 
enum  StatsOutputLevel { kStatsOutputLevelStandard, kStatsOutputLevelDebug, kStatsOutputLevelStandard, kStatsOutputLevelDebug }
 
enum  SignalingState {
  kStable, kHaveLocalOffer, kHaveLocalPrAnswer, kHaveRemoteOffer,
  kHaveRemotePrAnswer, kClosed, kStable, kHaveLocalOffer,
  kHaveLocalPrAnswer, kHaveRemoteOffer, kHaveRemotePrAnswer, kClosed
}
 
enum  IceGatheringState {
  kIceGatheringNew, kIceGatheringGathering, kIceGatheringComplete, kIceGatheringNew,
  kIceGatheringGathering, kIceGatheringComplete
}
 
enum  IceConnectionState {
  kIceConnectionNew, kIceConnectionChecking, kIceConnectionConnected, kIceConnectionCompleted,
  kIceConnectionFailed, kIceConnectionDisconnected, kIceConnectionClosed, kIceConnectionMax,
  kIceConnectionNew, kIceConnectionChecking, kIceConnectionConnected, kIceConnectionCompleted,
  kIceConnectionFailed, kIceConnectionDisconnected, kIceConnectionClosed, kIceConnectionMax
}
 
enum  TlsCertPolicy { kTlsCertPolicySecure, kTlsCertPolicyInsecureNoCheck, kTlsCertPolicySecure, kTlsCertPolicyInsecureNoCheck }
 
enum  IceTransportsType {
  kNone, kRelay, kNoHost, kAll,
  kNone, kRelay, kNoHost, kAll
}
 
enum  BundlePolicy {
  kBundlePolicyBalanced, kBundlePolicyMaxBundle, kBundlePolicyMaxCompat, kBundlePolicyBalanced,
  kBundlePolicyMaxBundle, kBundlePolicyMaxCompat
}
 
enum  RtcpMuxPolicy { kRtcpMuxPolicyNegotiate, kRtcpMuxPolicyRequire, kRtcpMuxPolicyNegotiate, kRtcpMuxPolicyRequire }
 
enum  TcpCandidatePolicy { kTcpCandidatePolicyEnabled, kTcpCandidatePolicyDisabled, kTcpCandidatePolicyEnabled, kTcpCandidatePolicyDisabled }
 
enum  CandidateNetworkPolicy { kCandidateNetworkPolicyAll, kCandidateNetworkPolicyLowCost, kCandidateNetworkPolicyAll, kCandidateNetworkPolicyLowCost }
 
enum  ContinualGatheringPolicy { GATHER_ONCE, GATHER_CONTINUALLY, GATHER_ONCE, GATHER_CONTINUALLY }
 
enum  RTCConfigurationType { RTCConfigurationType::kSafe, RTCConfigurationType::kAggressive, RTCConfigurationType::kSafe, RTCConfigurationType::kAggressive }
 
enum  StatsOutputLevel { kStatsOutputLevelStandard, kStatsOutputLevelDebug, kStatsOutputLevelStandard, kStatsOutputLevelDebug }
 
typedef std::vector< IceServerIceServers
 
typedef std::vector< IceServerIceServers
 

Constructor & Destructor Documentation

◆ PeerConnection() [1/2]

webrtc::PeerConnection::PeerConnection ( PeerConnectionFactory factory)
explicit

◆ ~PeerConnection() [1/2]

webrtc::PeerConnection::~PeerConnection ( )
overrideprotected

◆ PeerConnection() [2/2]

webrtc::PeerConnection::PeerConnection ( PeerConnectionFactory factory)
explicit

◆ ~PeerConnection() [2/2]

webrtc::PeerConnection::~PeerConnection ( )
overrideprotected

Member Function Documentation

◆ AddIceCandidate() [1/2]

bool webrtc::PeerConnection::AddIceCandidate ( const IceCandidateInterface candidate)
overridevirtual

◆ AddIceCandidate() [2/2]

bool webrtc::PeerConnection::AddIceCandidate ( const IceCandidateInterface candidate)
overridevirtual

◆ AddStream() [1/2]

bool webrtc::PeerConnection::AddStream ( MediaStreamInterface local_stream)
overridevirtual

◆ AddStream() [2/2]

bool webrtc::PeerConnection::AddStream ( MediaStreamInterface local_stream)
overridevirtual

◆ AddTrack() [1/2]

rtc::scoped_refptr<RtpSenderInterface> webrtc::PeerConnection::AddTrack ( MediaStreamTrackInterface track,
std::vector< MediaStreamInterface *>  streams 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ AddTrack() [2/2]

rtc::scoped_refptr< RtpSenderInterface > webrtc::PeerConnection::AddTrack ( MediaStreamTrackInterface track,
std::vector< MediaStreamInterface *>  streams 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ Close() [1/2]

void webrtc::PeerConnection::Close ( )
overridevirtual

◆ Close() [2/2]

void webrtc::PeerConnection::Close ( )
overridevirtual

◆ CreateAnswer() [1/4]

void webrtc::PeerConnection::CreateAnswer ( CreateSessionDescriptionObserver observer,
const MediaConstraintsInterface constraints 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ CreateAnswer() [2/4]

void webrtc::PeerConnection::CreateAnswer ( CreateSessionDescriptionObserver observer,
const MediaConstraintsInterface constraints 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ CreateAnswer() [3/4]

void webrtc::PeerConnection::CreateAnswer ( CreateSessionDescriptionObserver observer,
const RTCOfferAnswerOptions options 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ CreateAnswer() [4/4]

void webrtc::PeerConnection::CreateAnswer ( CreateSessionDescriptionObserver observer,
const RTCOfferAnswerOptions options 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ CreateDataChannel() [1/2]

rtc::scoped_refptr< DataChannelInterface > webrtc::PeerConnection::CreateDataChannel ( const std::string label,
const DataChannelInit config 
)
overridevirtual

◆ CreateDataChannel() [2/2]

rtc::scoped_refptr<DataChannelInterface> webrtc::PeerConnection::CreateDataChannel ( const std::string label,
const DataChannelInit config 
)
overridevirtual

◆ CreateDtmfSender() [1/2]

rtc::scoped_refptr< DtmfSenderInterface > webrtc::PeerConnection::CreateDtmfSender ( AudioTrackInterface track)
overridevirtual

◆ CreateDtmfSender() [2/2]

rtc::scoped_refptr<DtmfSenderInterface> webrtc::PeerConnection::CreateDtmfSender ( AudioTrackInterface track)
overridevirtual

◆ CreateOffer() [1/4]

void webrtc::PeerConnection::CreateOffer ( CreateSessionDescriptionObserver observer,
const MediaConstraintsInterface constraints 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ CreateOffer() [2/4]

void webrtc::PeerConnection::CreateOffer ( CreateSessionDescriptionObserver observer,
const MediaConstraintsInterface constraints 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ CreateOffer() [3/4]

void webrtc::PeerConnection::CreateOffer ( CreateSessionDescriptionObserver observer,
const RTCOfferAnswerOptions options 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ CreateOffer() [4/4]

void webrtc::PeerConnection::CreateOffer ( CreateSessionDescriptionObserver observer,
const RTCOfferAnswerOptions options 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ CreateSender() [1/2]

rtc::scoped_refptr< RtpSenderInterface > webrtc::PeerConnection::CreateSender ( const std::string kind,
const std::string stream_id 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ CreateSender() [2/2]

rtc::scoped_refptr<RtpSenderInterface> webrtc::PeerConnection::CreateSender ( const std::string kind,
const std::string stream_id 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ current_local_description() [1/2]

const SessionDescriptionInterface * webrtc::PeerConnection::current_local_description ( ) const
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ current_local_description() [2/2]

const SessionDescriptionInterface* webrtc::PeerConnection::current_local_description ( ) const
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ current_remote_description() [1/2]

const SessionDescriptionInterface * webrtc::PeerConnection::current_remote_description ( ) const
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ current_remote_description() [2/2]

const SessionDescriptionInterface* webrtc::PeerConnection::current_remote_description ( ) const
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ GetConfiguration() [1/2]

PeerConnectionInterface::RTCConfiguration webrtc::PeerConnection::GetConfiguration ( )
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ GetConfiguration() [2/2]

PeerConnectionInterface::RTCConfiguration webrtc::PeerConnection::GetConfiguration ( )
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ GetReceivers() [1/2]

std::vector<rtc::scoped_refptr<RtpReceiverInterface> > webrtc::PeerConnection::GetReceivers ( ) const
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ GetReceivers() [2/2]

std::vector< rtc::scoped_refptr< RtpReceiverInterface > > webrtc::PeerConnection::GetReceivers ( ) const
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ GetSenders() [1/2]

std::vector< rtc::scoped_refptr< RtpSenderInterface > > webrtc::PeerConnection::GetSenders ( ) const
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ GetSenders() [2/2]

std::vector<rtc::scoped_refptr<RtpSenderInterface> > webrtc::PeerConnection::GetSenders ( ) const
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ GetStats() [1/4]

bool webrtc::PeerConnection::GetStats ( StatsObserver observer,
webrtc::MediaStreamTrackInterface track,
StatsOutputLevel  level 
)
overridevirtual

◆ GetStats() [2/4]

bool webrtc::PeerConnection::GetStats ( StatsObserver observer,
webrtc::MediaStreamTrackInterface track,
StatsOutputLevel  level 
)
overridevirtual

◆ GetStats() [3/4]

void webrtc::PeerConnection::GetStats ( RTCStatsCollectorCallback callback)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ GetStats() [4/4]

void webrtc::PeerConnection::GetStats ( RTCStatsCollectorCallback callback)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ ice_connection_state() [1/2]

PeerConnectionInterface::IceConnectionState webrtc::PeerConnection::ice_connection_state ( )
overridevirtual

◆ ice_connection_state() [2/2]

IceConnectionState webrtc::PeerConnection::ice_connection_state ( )
overridevirtual

◆ ice_gathering_state() [1/2]

PeerConnectionInterface::IceGatheringState webrtc::PeerConnection::ice_gathering_state ( )
overridevirtual

◆ ice_gathering_state() [2/2]

IceGatheringState webrtc::PeerConnection::ice_gathering_state ( )
overridevirtual

◆ Initialize() [1/2]

bool webrtc::PeerConnection::Initialize ( const PeerConnectionInterface::RTCConfiguration configuration,
std::unique_ptr< cricket::PortAllocator allocator,
std::unique_ptr< rtc::RTCCertificateGeneratorInterface cert_generator,
PeerConnectionObserver observer 
)

◆ Initialize() [2/2]

bool webrtc::PeerConnection::Initialize ( const PeerConnectionInterface::RTCConfiguration configuration,
std::unique_ptr< cricket::PortAllocator allocator,
std::unique_ptr< rtc::RTCCertificateGeneratorInterface cert_generator,
PeerConnectionObserver observer 
)

◆ local_description() [1/2]

const SessionDescriptionInterface * webrtc::PeerConnection::local_description ( ) const
overridevirtual

◆ local_description() [2/2]

const SessionDescriptionInterface* webrtc::PeerConnection::local_description ( ) const
overridevirtual

◆ local_streams() [1/2]

rtc::scoped_refptr< StreamCollectionInterface > webrtc::PeerConnection::local_streams ( )
overridevirtual

◆ local_streams() [2/2]

rtc::scoped_refptr<StreamCollectionInterface> webrtc::PeerConnection::local_streams ( )
overridevirtual

◆ pending_local_description() [1/2]

const SessionDescriptionInterface* webrtc::PeerConnection::pending_local_description ( ) const
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ pending_local_description() [2/2]

const SessionDescriptionInterface * webrtc::PeerConnection::pending_local_description ( ) const
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ pending_remote_description() [1/2]

const SessionDescriptionInterface* webrtc::PeerConnection::pending_remote_description ( ) const
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ pending_remote_description() [2/2]

const SessionDescriptionInterface * webrtc::PeerConnection::pending_remote_description ( ) const
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ RegisterUMAObserver() [1/2]

void webrtc::PeerConnection::RegisterUMAObserver ( UMAObserver observer)
overridevirtual

◆ RegisterUMAObserver() [2/2]

void webrtc::PeerConnection::RegisterUMAObserver ( UMAObserver observer)
overridevirtual

◆ remote_description() [1/2]

const SessionDescriptionInterface * webrtc::PeerConnection::remote_description ( ) const
overridevirtual

◆ remote_description() [2/2]

const SessionDescriptionInterface* webrtc::PeerConnection::remote_description ( ) const
overridevirtual

◆ remote_streams() [1/2]

rtc::scoped_refptr<StreamCollectionInterface> webrtc::PeerConnection::remote_streams ( )
overridevirtual

◆ remote_streams() [2/2]

rtc::scoped_refptr< StreamCollectionInterface > webrtc::PeerConnection::remote_streams ( )
overridevirtual

◆ RemoveIceCandidates() [1/2]

bool webrtc::PeerConnection::RemoveIceCandidates ( const std::vector< cricket::Candidate > &  candidates)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ RemoveIceCandidates() [2/2]

bool webrtc::PeerConnection::RemoveIceCandidates ( const std::vector< cricket::Candidate > &  candidates)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ RemoveStream() [1/2]

void webrtc::PeerConnection::RemoveStream ( MediaStreamInterface local_stream)
overridevirtual

◆ RemoveStream() [2/2]

void webrtc::PeerConnection::RemoveStream ( MediaStreamInterface local_stream)
overridevirtual

◆ RemoveTrack() [1/2]

bool webrtc::PeerConnection::RemoveTrack ( RtpSenderInterface sender)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ RemoveTrack() [2/2]

bool webrtc::PeerConnection::RemoveTrack ( RtpSenderInterface sender)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ sctp_data_channels() [1/2]

virtual const std::vector<rtc::scoped_refptr<DataChannel> >& webrtc::PeerConnection::sctp_data_channels ( ) const
inlinevirtual

◆ sctp_data_channels() [2/2]

virtual const std::vector<rtc::scoped_refptr<DataChannel> >& webrtc::PeerConnection::sctp_data_channels ( ) const
inlinevirtual

◆ session() [1/2]

virtual WebRtcSession* webrtc::PeerConnection::session ( )
inlinevirtual

◆ session() [2/2]

virtual WebRtcSession* webrtc::PeerConnection::session ( )
inlinevirtual

◆ SetConfiguration() [1/4]

bool webrtc::PeerConnection::SetConfiguration ( const PeerConnectionInterface::RTCConfiguration configuration,
RTCError error 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ SetConfiguration() [2/4]

bool webrtc::PeerConnection::SetConfiguration ( const PeerConnectionInterface::RTCConfiguration configuration,
RTCError error 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ SetConfiguration() [3/4]

bool webrtc::PeerConnection::SetConfiguration ( const PeerConnectionInterface::RTCConfiguration configuration)
inlineoverridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ SetConfiguration() [4/4]

bool webrtc::PeerConnection::SetConfiguration ( const PeerConnectionInterface::RTCConfiguration configuration)
inlineoverridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ SetLocalDescription() [1/2]

void webrtc::PeerConnection::SetLocalDescription ( SetSessionDescriptionObserver observer,
SessionDescriptionInterface desc 
)
overridevirtual

◆ SetLocalDescription() [2/2]

void webrtc::PeerConnection::SetLocalDescription ( SetSessionDescriptionObserver observer,
SessionDescriptionInterface desc 
)
overridevirtual

◆ SetRemoteDescription() [1/2]

void webrtc::PeerConnection::SetRemoteDescription ( SetSessionDescriptionObserver observer,
SessionDescriptionInterface desc 
)
overridevirtual

◆ SetRemoteDescription() [2/2]

void webrtc::PeerConnection::SetRemoteDescription ( SetSessionDescriptionObserver observer,
SessionDescriptionInterface desc 
)
overridevirtual

◆ signaling_state() [1/2]

PeerConnectionInterface::SignalingState webrtc::PeerConnection::signaling_state ( )
overridevirtual

◆ signaling_state() [2/2]

SignalingState webrtc::PeerConnection::signaling_state ( )
overridevirtual

◆ StartRtcEventLog() [1/2]

bool webrtc::PeerConnection::StartRtcEventLog ( rtc::PlatformFile  file,
int64_t  max_size_bytes 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ StartRtcEventLog() [2/2]

bool webrtc::PeerConnection::StartRtcEventLog ( rtc::PlatformFile  file,
int64_t  max_size_bytes 
)
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ StopRtcEventLog() [1/2]

void webrtc::PeerConnection::StopRtcEventLog ( )
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

◆ StopRtcEventLog() [2/2]

void webrtc::PeerConnection::StopRtcEventLog ( )
overridevirtual

Reimplemented from webrtc::PeerConnectionInterface.

Member Data Documentation

◆ SignalDataChannelCreated

sigslot::signal1< DataChannel * > webrtc::PeerConnection::SignalDataChannelCreated

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