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

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 }
using IceServers = ::std::vector<::webrtc::PeerConnectionInterface::IceServer>

Public Member Functions

virtual::webrtc::Thread * network_thread () const =0
virtual::webrtc::Thread * worker_thread () const =0
virtual bool initial_offerer () const =0
virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > > GetTransceiversInternal () const =0
virtual ::std::vector<::webrtc::DataChannelStats > GetDataChannelStats () const
virtual ::std::optional<::std::string > sctp_transport_name () const =0
virtual ::std::vector<::webrtc::CandidateStats > GetPooledCandidateStats () const =0
virtual ::std::map<::std::string, ::webrtc::TransportStats > GetTransportStatsByNames (::std::set<::std::string > const &transport_names)=0
virtual::webrtc::Call::Stats GetCallStats ()=0
virtual ::std::optional<::webrtc::AudioDeviceModule::Stats > GetAudioDeviceStats ()=0
virtual bool GetLocalCertificate (::std::string const &transport_name, ::webrtc::scoped_refptr<::webrtc::RTCCertificate > *certificate)=0
virtual ::std::unique_ptr<::webrtc::SSLCertChain > GetRemoteSSLCertChain (::std::string const &transport_name)=0
virtual bool IceRestartPending (::std::string const &content_name) const =0
virtual bool GetSslRole (::std::string const &content_name, ::webrtc::SSLRole *role)=0
virtual void NoteDataAddedEvent ()
virtual void OnSctpDataChannelStateChanged (int channel_id, ::webrtc::DataChannelInterface::DataState state)
MCAPI void $dtor ()
virtual ::webrtc::scoped_refptr<::webrtc::StreamCollectionInterface > local_streams ()=0
virtual ::webrtc::scoped_refptr<::webrtc::StreamCollectionInterface > remote_streams ()=0
virtual bool AddStream (::webrtc::MediaStreamInterface *a1)=0
virtual void RemoveStream (::webrtc::MediaStreamInterface *a1)=0
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > > AddTrack (::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface > a1, ::std::vector<::std::string > const &a2)=0
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > > AddTrack (::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface > a1, ::std::vector<::std::string > const &a2, ::std::vector<::webrtc::RtpEncodingParameters > const &a3)=0
virtual::webrtc::RTCError RemoveTrackOrError (::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > a1)
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > > AddTransceiver (::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface > a1)=0
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > > AddTransceiver (::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface > a1, ::webrtc::RtpTransceiverInit const &a2)=0
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > > AddTransceiver (::webrtc::MediaType a1)=0
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > > AddTransceiver (::webrtc::MediaType a1, ::webrtc::RtpTransceiverInit const &a2)=0
virtual ::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > CreateSender (::std::string const &a1, ::std::string const &a2)=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 *a1, ::webrtc::MediaStreamTrackInterface *a2, ::webrtc::PeerConnectionInterface::StatsOutputLevel a3)=0
virtual void GetStats (::webrtc::RTCStatsCollectorCallback *a1)=0
virtual void GetStats (::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > a1, ::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > a2)=0
virtual void GetStats (::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface > a1, ::webrtc::scoped_refptr<::webrtc::RTCStatsCollectorCallback > a2)=0
virtual void ClearStatsCache ()
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::DataChannelInterface > > CreateDataChannelOrError (::std::string const &a1, ::webrtc::DataChannelInit const *a2)
virtual ::webrtc::scoped_refptr<::webrtc::DataChannelInterface > CreateDataChannel (::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 *a1, ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &a2)=0
virtual void CreateAnswer (::webrtc::CreateSessionDescriptionObserver *a1, ::webrtc::PeerConnectionInterface::RTCOfferAnswerOptions const &a2)=0
virtual void SetLocalDescription (::std::unique_ptr<::webrtc::SessionDescriptionInterface > a1, ::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface > a2)
virtual void SetLocalDescription (::webrtc::scoped_refptr<::webrtc::SetLocalDescriptionObserverInterface > a1)
virtual void SetLocalDescription (::webrtc::SetSessionDescriptionObserver *a1, ::webrtc::SessionDescriptionInterface *a2)=0
virtual void SetLocalDescription (::webrtc::SetSessionDescriptionObserver *a1)
virtual void SetRemoteDescription (::std::unique_ptr<::webrtc::SessionDescriptionInterface > a1, ::webrtc::scoped_refptr<::webrtc::SetRemoteDescriptionObserverInterface > a2)=0
virtual void SetRemoteDescription (::webrtc::SetSessionDescriptionObserver *a1, ::webrtc::SessionDescriptionInterface *a2)
virtual bool ShouldFireNegotiationNeededEvent (uint a1)=0
virtual::webrtc::PeerConnectionInterface::RTCConfiguration GetConfiguration ()=0
virtual::webrtc::RTCError SetConfiguration (::webrtc::PeerConnectionInterface::RTCConfiguration const &a1)=0
virtual bool AddIceCandidate (::webrtc::IceCandidate const *a1)=0
virtual void AddIceCandidate (::std::unique_ptr<::webrtc::IceCandidate > a1, ::std::function< void(::webrtc::RTCError)> a2)
virtual bool RemoveIceCandidate (::webrtc::IceCandidate const *a1)=0
virtual bool RemoveIceCandidates (::std::vector<::webrtc::Candidate > const &a1)
virtual::webrtc::RTCError SetBitrate (::webrtc::BitrateSettings const &a1)=0
virtual void ReconfigureBandwidthEstimation (::webrtc::BandwidthEstimationSettings const &a1)=0
virtual void SetAudioPlayout (bool a1)=0
virtual void SetAudioRecording (bool a1)=0
virtual ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface > LookupDtlsTransportByMid (::std::string const &a1)=0
virtual ::webrtc::scoped_refptr<::webrtc::SctpTransportInterface > GetSctpTransport () 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 > a1)=0
virtual bool StartRtcEventLog (::std::unique_ptr<::webrtc::RtcEventLogOutput > a1, int64 a2)=0
virtual bool StartRtcEventLog (::std::unique_ptr<::webrtc::RtcEventLogOutput > a1)=0
virtual void StopRtcEventLog ()=0
virtual void SetDataChannelEventObserver (::std::unique_ptr<::webrtc::DataChannelEventObserverInterface > a1)=0
virtual void Close ()=0
virtual::webrtc::Thread * signaling_thread () const =0
virtual::webrtc::NetworkControllerInterface * GetNetworkController ()=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
virtual::std::string session_id () const =0
virtual bool NeedsIceRestart (::std::string const &content_name) const =0
virtual ::std::optional<::std::string > sctp_mid () const =0
virtual::webrtc::PeerConnectionInterface::RTCConfiguration const * configuration () const =0
virtual void ReportSdpBundleUsage (::webrtc::SessionDescriptionInterface const &remote_description)=0
virtual::webrtc::PeerConnectionMessageHandler * message_handler ()=0
virtual::webrtc::RtpTransmissionManager * rtp_manager ()=0
virtual::webrtc::RtpTransmissionManager const * rtp_manager () const =0
virtual bool dtls_enabled () const =0
virtual::webrtc::PeerConnectionFactoryInterface::Options const * options () const =0
virtual::webrtc::CryptoOptions GetCryptoOptions ()=0
virtual::webrtc::JsepTransportController * transport_controller_s ()=0
virtual::webrtc::JsepTransportController * transport_controller_n ()=0
virtual::webrtc::DataChannelController * data_channel_controller ()=0
virtual::webrtc::PortAllocator * port_allocator ()=0
virtual::webrtc::LegacyStatsCollector * legacy_stats ()=0
virtual void RunWithObserver (::absl::AnyInvocable< void(::webrtc::PeerConnectionObserver *) && > task)=0
virtual ::std::optional<::webrtc::SSLRole > GetSctpSslRole_n ()=0
virtual::webrtc::PeerConnectionInterface::IceConnectionState ice_connection_state_internal ()=0
virtual void SetIceConnectionState (::webrtc::PeerConnectionInterface::IceConnectionState new_state)=0
virtual void NoteUsageEvent (::webrtc::UsageEvent event)=0
virtual bool IsClosed () const =0
virtual bool IsUnifiedPlan () const =0
virtual bool ValidateBundleSettings (::webrtc::SessionDescription const *desc, ::std::map<::std::string, ::webrtc::ContentGroup const * > const &bundle_groups_by_mid)=0
virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpTransceiverInterface > > AddTransceiver (::webrtc::MediaType media_type, ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface > track, ::webrtc::RtpTransceiverInit const &init, bool update_negotiation_needed)=0
virtual::webrtc::RTCError StartSctpTransport (::webrtc::SctpOptions const &options)=0
virtual void StartSctpTransport (int local_port, int remote_port, int max_message_size)
virtual void AddRemoteCandidate (::std::string_view mid, ::webrtc::Candidate const &candidate)=0
virtual::webrtc::Call * call_ptr ()=0
virtual bool SrtpRequired () const =0
virtual bool CreateDataChannelTransport (::std::string_view mid)=0
virtual void DestroyDataChannelTransport (::webrtc::RTCError error)=0
virtual::webrtc::FieldTrialsView const & trials () const =0
virtual void ClearStatsCache ()=0
virtual::webrtc::PayloadTypePicker & payload_type_picker ()=0
MCAPI void $StartSctpTransport (int local_port, int remote_port, int max_message_size)

Static Public Member Functions

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

Member Function Documentation

◆ $dtor()

MCAPI void webrtc::PeerConnectionInternal::$dtor ( )
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.

◆ AsString()

MCAPI ::std::string_view webrtc::PeerConnectionInterface::AsString ( ::webrtc::PeerConnectionInterface::SignalingState state)
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.

◆ $CreateDataChannel()

MCAPI ::webrtc::scoped_refptr<::webrtc::DataChannelInterface > webrtc::PeerConnectionInterface::$CreateDataChannel ( ::std::string const & label,
::webrtc::DataChannelInit const * config )
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.

◆ $StartSctpTransport()

MCAPI void webrtc::PeerConnectionSdpMethods::$StartSctpTransport ( int local_port,
int remote_port,
int max_message_size )
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.

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