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  BundlePolicy : int { KBundlePolicyBalanced = 0 , KBundlePolicyMaxBundle = 1 , KBundlePolicyMaxCompat = 2 }
enum class  CandidateNetworkPolicy : int { KCandidateNetworkPolicyAll = 0 , KCandidateNetworkPolicyLowCost = 1 }
enum class  ContinualGatheringPolicy : int { Once = 0 , Continually = 1 }
enum class  IceConnectionState : int {
  KIceConnectionNew = 0 , KIceConnectionChecking = 1 , KIceConnectionConnected = 2 , KIceConnectionCompleted = 3 ,
  KIceConnectionFailed = 4 , KIceConnectionDisconnected = 5 , KIceConnectionClosed = 6 , KIceConnectionMax = 7
}
enum class  IceGatheringState : int { KIceGatheringNew = 0 , KIceGatheringGathering = 1 , KIceGatheringComplete = 2 }
enum class  IceTransportsType : int { KNone = 0 , KRelay = 1 , KNoHost = 2 , KAll = 3 }
enum class  PeerConnectionState : int {
  KNew = 0 , KConnecting = 1 , KConnected = 2 , KDisconnected = 3 ,
  KFailed = 4 , KClosed = 5
}
enum class  RTCConfigurationType : int { KSafe = 0 , KAggressive = 1 }
enum class  RtcpMuxPolicy : int { KRtcpMuxPolicyNegotiate = 0 , KRtcpMuxPolicyRequire = 1 }
enum class  SignalingState : int {
  KStable = 0 , KHaveLocalOffer = 1 , KHaveLocalPrAnswer = 2 , KHaveRemoteOffer = 3 ,
  KHaveRemotePrAnswer = 4 , KClosed = 5
}
enum class  StatsOutputLevel : int { KStatsOutputLevelStandard = 0 , KStatsOutputLevelDebug = 1 }
enum class  TcpCandidatePolicy : int { KTcpCandidatePolicyEnabled = 0 , KTcpCandidatePolicyDisabled = 1 }
enum class  TlsCertPolicy : int { KTlsCertPolicySecure = 0 , KTlsCertPolicyInsecureNoCheck = 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 *remove_stream)=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 &label, ::webrtc::DataChannelInit const *config)
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
MCAPI ::webrtc::scoped_refptr<::webrtc::DataChannelInterface$CreateDataChannel (::std::string const &label, ::webrtc::DataChannelInit const *config)
virtual void AddRef () const =0
virtual::webrtc::RefCountReleaseStatus Release () const =0
MCAPI void $dtor ()

Static Public Member Functions

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

Member Function Documentation

◆ AsString()

MCAPI ::std::string_view webrtc::PeerConnectionInterface::AsString ( ::webrtc::PeerConnectionInterface::SignalingState state)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $CreateDataChannel()

MCAPI ::webrtc::scoped_refptr<::webrtc::DataChannelInterface > webrtc::PeerConnectionInterface::$CreateDataChannel ( ::std::string const & label,
::webrtc::DataChannelInit const * config )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void webrtc::RefCountInterface::$dtor ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** webrtc::RefCountInterface::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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