API Reference
On this page
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 } |
| using | IceServers = ::std::vector<::webrtc::PeerConnectionInterface::IceServer> |
Public Member Functions | |
| 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 |
| MCAPI void | $dtor () |
Static Public Member Functions | |
| static MCAPI ::std::string_view | AsString (::webrtc::PeerConnectionInterface::SignalingState state) |
| static MCAPI void ** | $vftable () |
|
static |
| MCAPI ::webrtc::scoped_refptr<::webrtc::DataChannelInterface > webrtc::PeerConnectionInterface::$CreateDataChannel | ( | ::std::string const & | label, |
| ::webrtc::DataChannelInit const * | config ) |
|
inherited |
|
staticinherited |