#[repr(transparent)]
pub struct RtcPeerConnection { /* fields omitted */ }
The RTCPeerConnection object
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The new RTCPeerConnection(..) constructor, creating a new instance of RTCPeerConnection
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The new RTCPeerConnection(..) constructor, creating a new instance of RTCPeerConnection
MDN Documentation
This API requires the following crate features to be activated: RtcConfiguration, RtcPeerConnection
The new RTCPeerConnection(..) constructor, creating a new instance of RTCPeerConnection
MDN Documentation
This API requires the following crate features to be activated: RtcConfiguration, RtcPeerConnection
The addIceCandidate() method
MDN Documentation
This API requires the following crate features to be activated: RtcIceCandidateInit, RtcPeerConnection
The addIceCandidate() method
MDN Documentation
This API requires the following crate features to be activated: RtcIceCandidate, RtcPeerConnection
The addIceCandidate() method
MDN Documentation
This API requires the following crate features to be activated: RtcIceCandidate, RtcPeerConnection
The addStream() method
MDN Documentation
This API requires the following crate features to be activated: MediaStream, RtcPeerConnection
The addTrack() method
MDN Documentation
This API requires the following crate features to be activated: MediaStream, MediaStreamTrack, RtcPeerConnection, RtcRtpSender
The addTrack() method
MDN Documentation
This API requires the following crate features to be activated: MediaStream, MediaStreamTrack, RtcPeerConnection, RtcRtpSender
The addTrack() method
MDN Documentation
This API requires the following crate features to be activated: MediaStream, MediaStreamTrack, RtcPeerConnection, RtcRtpSender
The addTrack() method
MDN Documentation
This API requires the following crate features to be activated: MediaStream, MediaStreamTrack, RtcPeerConnection, RtcRtpSender
The addTrack() method
MDN Documentation
This API requires the following crate features to be activated: MediaStream, MediaStreamTrack, RtcPeerConnection, RtcRtpSender
The addTrack() method
MDN Documentation
This API requires the following crate features to be activated: MediaStream, MediaStreamTrack, RtcPeerConnection, RtcRtpSender
The addTrack() method
MDN Documentation
This API requires the following crate features to be activated: MediaStream, MediaStreamTrack, RtcPeerConnection, RtcRtpSender
The addTrack() method
MDN Documentation
This API requires the following crate features to be activated: MediaStream, MediaStreamTrack, RtcPeerConnection, RtcRtpSender
The addTrack() method
MDN Documentation
This API requires the following crate features to be activated: MediaStream, MediaStreamTrack, RtcPeerConnection, RtcRtpSender
The close() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The createAnswer() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The createAnswer() method
MDN Documentation
This API requires the following crate features to be activated: RtcAnswerOptions, RtcPeerConnection
The createAnswer() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The createDataChannel() method
MDN Documentation
This API requires the following crate features to be activated: RtcDataChannel, RtcPeerConnection
The createDataChannel() method
MDN Documentation
This API requires the following crate features to be activated: RtcDataChannel, RtcDataChannelInit, RtcPeerConnection
The createOffer() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The createOffer() method
MDN Documentation
This API requires the following crate features to be activated: RtcOfferOptions, RtcPeerConnection
The createOffer() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The createOffer() method
MDN Documentation
This API requires the following crate features to be activated: RtcOfferOptions, RtcPeerConnection
The generateCertificate() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The generateCertificate() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The getConfiguration() method
MDN Documentation
This API requires the following crate features to be activated: RtcConfiguration, RtcPeerConnection
The getIdentityAssertion() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The getLocalStreams() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The getReceivers() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The getRemoteStreams() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The getSenders() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The getStats() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The getStats() method
MDN Documentation
This API requires the following crate features to be activated: MediaStreamTrack, RtcPeerConnection
The getStats() method
MDN Documentation
This API requires the following crate features to be activated: MediaStreamTrack, RtcPeerConnection
The getTransceivers() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The removeTrack() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection, RtcRtpSender
The setIdentityProvider() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The setIdentityProvider() method
MDN Documentation
This API requires the following crate features to be activated: RtcIdentityProviderOptions, RtcPeerConnection
The setLocalDescription() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection, RtcSessionDescriptionInit
The setLocalDescription() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection, RtcSessionDescriptionInit
The setRemoteDescription() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection, RtcSessionDescriptionInit
The setRemoteDescription() method
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection, RtcSessionDescriptionInit
The localDescription getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection, RtcSessionDescription
The currentLocalDescription getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection, RtcSessionDescription
The pendingLocalDescription getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection, RtcSessionDescription
The remoteDescription getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection, RtcSessionDescription
The currentRemoteDescription getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection, RtcSessionDescription
The pendingRemoteDescription getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection, RtcSessionDescription
The signalingState getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection, RtcSignalingState
The canTrickleIceCandidates getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The iceGatheringState getter
MDN Documentation
This API requires the following crate features to be activated: RtcIceGatheringState, RtcPeerConnection
The iceConnectionState getter
MDN Documentation
This API requires the following crate features to be activated: RtcIceConnectionState, RtcPeerConnection
The peerIdentity getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The idpLoginUrl getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onnegotiationneeded getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onnegotiationneeded setter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onicecandidate getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onicecandidate setter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onsignalingstatechange getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onsignalingstatechange setter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onaddstream getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onaddstream setter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onaddtrack getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onaddtrack setter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The ontrack getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The ontrack setter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onremovestream getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onremovestream setter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The oniceconnectionstatechange getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The oniceconnectionstatechange setter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onicegatheringstatechange getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The onicegatheringstatechange setter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The ondatachannel getter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The ondatachannel setter
MDN Documentation
This API requires the following crate features to be activated: RtcPeerConnection
The addEventListener() method
MDN Documentation
This API requires the following crate features to be activated: EventTarget
The addEventListener() method
MDN Documentation
This API requires the following crate features to be activated: EventListener, EventTarget
The addEventListener() method
MDN Documentation
This API requires the following crate features to be activated: AddEventListenerOptions, EventTarget
The addEventListener() method
MDN Documentation
This API requires the following crate features to be activated: AddEventListenerOptions, EventListener, EventTarget
The addEventListener() method
MDN Documentation
This API requires the following crate features to be activated: EventTarget
The addEventListener() method
MDN Documentation
This API requires the following crate features to be activated: EventListener, EventTarget
The addEventListener() method
MDN Documentation
This API requires the following crate features to be activated: AddEventListenerOptions, EventTarget
The addEventListener() method
MDN Documentation
This API requires the following crate features to be activated: AddEventListenerOptions, EventListener, EventTarget
The addEventListener() method
MDN Documentation
This API requires the following crate features to be activated: EventTarget
The addEventListener() method
MDN Documentation
This API requires the following crate features to be activated: EventListener, EventTarget
The dispatchEvent() method
MDN Documentation
This API requires the following crate features to be activated: Event, EventTarget
The removeEventListener() method
MDN Documentation
This API requires the following crate features to be activated: EventTarget
The removeEventListener() method
MDN Documentation
This API requires the following crate features to be activated: EventListener, EventTarget
The removeEventListener() method
MDN Documentation
This API requires the following crate features to be activated: EventListenerOptions, EventTarget
The removeEventListener() method
MDN Documentation
This API requires the following crate features to be activated: EventListener, EventListenerOptions, EventTarget
The removeEventListener() method
MDN Documentation
This API requires the following crate features to be activated: EventTarget
The removeEventListener() method
MDN Documentation
This API requires the following crate features to be activated: EventListener, EventTarget
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
The resulting type after dereferencing.
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
Convert self into Self::Abi so that it can be sent across the wasm ABI boundary. Read more
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
Convert self into Self::Abi so that it can be sent across the wasm ABI boundary. Read more
Returns an ABI instance indicating "none", which JS will interpret as the None branch of this option. Read more
Returns an ABI instance indicating "none", which JS will interpret as the None branch of this option. Read more
Tests whether the argument is a "none" instance. If so it will be deserialized as None, and otherwise it will be passed to FromWasmAbi. Read more
The wasm ABI type references to Self are recovered from.
The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more
Recover a Self::Anchor from Self::Abi. Read more
Performs a dynamic instanceof check to see whether the JsValue provided is an instance of this type. Read more
Performs a zero-cost unchecked conversion from a JsValue into an instance of Self Read more
Performs a zero-cost unchecked conversion from a &JsValue into an instance of &Self. Read more
Test whether this JS value is an instance of the type T. Read more
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
Performs a zero-cost unchecked cast into the specified type. Read more
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Same as IntoWasmAbi::into_abi, except that it may throw and never return in the case of Err. Read more