LeviLamina
Loading...
Searching...
No Matches
webrtc::PeerConnectionInterface Class Referenceabstract
+ Inheritance diagram for webrtc::PeerConnectionInterface:

Classes

struct  IceServer
 
struct  PortAllocatorConfig
 
struct  RTCConfiguration
 
struct  RTCOfferAnswerOptions
 

Public Types

enum class  SignalingState : int {
  KStable = 0 , KHaveLocalOffer = 1 , KHaveLocalPrAnswer = 2 , KHaveRemoteOffer = 3 ,
  KHaveRemotePrAnswer = 4 , KClosed = 5
}
 
enum class  IceGatheringState : int { KIceGatheringNew = 0 , KIceGatheringGathering = 1 , KIceGatheringComplete = 2 }
 
enum class  PeerConnectionState : int {
  KNew = 0 , KConnecting = 1 , KConnected = 2 , KDisconnected = 3 ,
  KFailed = 4 , KClosed = 5
}
 
enum class  IceConnectionState : int {
  KIceConnectionNew = 0 , KIceConnectionChecking = 1 , KIceConnectionConnected = 2 , KIceConnectionCompleted = 3 ,
  KIceConnectionFailed = 4 , KIceConnectionDisconnected = 5 , KIceConnectionClosed = 6 , KIceConnectionMax = 7
}
 
enum class  TlsCertPolicy : int { KTlsCertPolicySecure = 0 , KTlsCertPolicyInsecureNoCheck = 1 }
 
enum class  IceTransportsType : int { KNone = 0 , KRelay = 1 , KNoHost = 2 , KAll = 3 }
 
enum class  BundlePolicy : int { KBundlePolicyBalanced = 0 , KBundlePolicyMaxBundle = 1 , KBundlePolicyMaxCompat = 2 }
 
enum class  RtcpMuxPolicy : int { KRtcpMuxPolicyNegotiate = 0 , KRtcpMuxPolicyRequire = 1 }
 
enum class  TcpCandidatePolicy : int { KTcpCandidatePolicyEnabled = 0 , KTcpCandidatePolicyDisabled = 1 }
 
enum class  CandidateNetworkPolicy : int { KCandidateNetworkPolicyAll = 0 , KCandidateNetworkPolicyLowCost = 1 }
 
enum class  ContinualGatheringPolicy : int { Once = 0 , Continually = 1 }
 
enum class  RTCConfigurationType : int { KSafe = 0 , KAggressive = 1 }
 
enum class  StatsOutputLevel : int { KStatsOutputLevelStandard = 0 , KStatsOutputLevelDebug = 1 }
 

Public Member Functions

virtual ::webrtc::scoped_refptr<::webrtc::StreamCollectionInterfacelocal_streams ()=0
 
virtual ::webrtc::scoped_refptr<::webrtc::StreamCollectionInterfaceremote_streams ()=0
 
virtual bool AddStream (::webrtc::MediaStreamInterface *)=0
 
virtual void RemoveStream (::webrtc::MediaStreamInterface *)=0
 
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > > AddTrack (::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface >, ::std::vector<::std::string > const &)=0
 
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > > AddTrack (::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface >, ::std::vector<::std::string > const &, ::std::vector<::webrtc::RtpEncodingParameters > const &)=0
 
virtual::webrtc::RTCError RemoveTrackOrError (::webrtc::scoped_refptr<::webrtc::RtpSenderInterface >)
 
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > > AddTransceiver (::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface >)=0
 
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > > AddTransceiver (::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface >, ::webrtc::RtpTransceiverInit const &)=0
 
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > > AddTransceiver (::cricket::MediaType)=0
 
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > > AddTransceiver (::cricket::MediaType, ::webrtc::RtpTransceiverInit const &)=0
 
virtual ::webrtc::scoped_refptr<::webrtc::RtpSenderInterfaceCreateSender (::std::string const &, ::std::string const &)=0
 
virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > > GetSenders () const =0
 
virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface > > GetReceivers () const =0
 
virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > > GetTransceivers () const =0
 
virtual bool GetStats (::webrtc::StatsObserver *, ::webrtc::MediaStreamTrackInterface *, ::webrtc::PeerConnectionInterface::StatsOutputLevel)=0
 
virtual void GetStats (::webrtc::RTCStatsCollectorCallback *)=0
 
virtual void GetStats (::webrtc::scoped_refptr<::webrtc::RtpSenderInterface >, ::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback >)=0
 
virtual void GetStats (::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface >, ::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback >)=0
 
virtual void ClearStatsCache ()
 
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::DataChannelInterface > > CreateDataChannelOrError (::std::string const &, ::webrtc::DataChannelInit const *)
 
virtual ::webrtc::scoped_refptr<::webrtc::DataChannelInterfaceCreateDataChannel (::std::string const &, ::webrtc::DataChannelInit const *)
 
virtual::webrtc::SessionDescriptionInterface const * local_description () const =0
 
virtual::webrtc::SessionDescriptionInterface const * remote_description () const =0
 
virtual::webrtc::SessionDescriptionInterface const * current_local_description () const =0
 
virtual::webrtc::SessionDescriptionInterface const * current_remote_description () const =0
 
virtual::webrtc::SessionDescriptionInterface const * pending_local_description () const =0
 
virtual::webrtc::SessionDescriptionInterface const * pending_remote_description () const =0
 
virtual void RestartIce ()=0
 
virtual void CreateOffer (::webrtc::CreateSessionDescriptionObserver *, ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &)=0
 
virtual void CreateAnswer (::webrtc::CreateSessionDescriptionObserver *, ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &)=0
 
virtual void SetLocalDescription (::std::unique_ptr<::webrtc::SessionDescriptionInterface >, ::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface >)
 
virtual void SetLocalDescription (::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface >)
 
virtual void SetLocalDescription (::webrtc::SetSessionDescriptionObserver *, ::webrtc::SessionDescriptionInterface *)=0
 
virtual void SetLocalDescription (::webrtc::SetSessionDescriptionObserver *)
 
virtual void SetRemoteDescription (::std::unique_ptr<::webrtc::SessionDescriptionInterface >, ::webrtc::scoped_refptr<::webrtc::SetRemoteDescriptionObserverInterface >)=0
 
virtual void SetRemoteDescription (::webrtc::SetSessionDescriptionObserver *, ::webrtc::SessionDescriptionInterface *)
 
virtual bool ShouldFireNegotiationNeededEvent (uint)=0
 
virtual::webrtc::PeerConnectionInterface::RTCConfiguration GetConfiguration ()=0
 
virtual::webrtc::RTCError SetConfiguration (::webrtc::PeerConnectionInterface::RTCConfiguration const &)=0
 
virtual bool AddIceCandidate (::webrtc::IceCandidateInterface const *)=0
 
virtual void AddIceCandidate (::std::unique_ptr<::webrtc::IceCandidateInterface >, ::std::function< void(::webrtc::RTCError)>)
 
virtual bool RemoveIceCandidates (::std::vector<::cricket::Candidate > const &)=0
 
virtual::webrtc::RTCError SetBitrate (::webrtc::BitrateSettings const &)=0
 
virtual void ReconfigureBandwidthEstimation (::webrtc::BandwidthEstimationSettings const &)=0
 
virtual void SetAudioPlayout (bool)=0
 
virtual void SetAudioRecording (bool)=0
 
virtual ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterfaceLookupDtlsTransportByMid (::std::string const &)=0
 
virtual ::webrtc::scoped_refptr<::webrtc::SctpTransportInterfaceGetSctpTransport () const =0
 
virtual::webrtc::PeerConnectionInterface::SignalingState signaling_state ()=0
 
virtual::webrtc::PeerConnectionInterface::IceConnectionState ice_connection_state ()=0
 
virtual::webrtc::PeerConnectionInterface::IceConnectionState standardized_ice_connection_state ()=0
 
virtual::webrtc::PeerConnectionInterface::PeerConnectionState peer_connection_state ()=0
 
virtual::webrtc::PeerConnectionInterface::IceGatheringState ice_gathering_state ()=0
 
virtual ::std::optional< bool > can_trickle_ice_candidates ()=0
 
virtual void AddAdaptationResource (::webrtc::scoped_refptr<::webrtc::Resource >)=0
 
virtual bool StartRtcEventLog (::std::unique_ptr<::webrtc::RtcEventLogOutput >, int64)=0
 
virtual bool StartRtcEventLog (::std::unique_ptr<::webrtc::RtcEventLogOutput >)=0
 
virtual void StopRtcEventLog ()=0
 
virtual void Close ()=0
 
virtual::rtc::Thread * signaling_thread () const =0
 
virtual void AddRef () const =0
 
virtual::webrtc::RefCountReleaseStatus Release () const =0
 
MCFOLD void $dtor ()
 

Static Public Member Functions

static MCAPI ::std::string_view AsString (::webrtc::PeerConnectionInterface::SignalingState)
 
static MCAPI void ** $vftable ()
 

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