Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
sealed interface RTCBundlePolicy
Link copied to clipboard

The RTCCertificate interface of the WebRTC API provides an object representing a certificate that an RTCPeerConnection uses to authenticate.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The RTCDataChannel interface represents a network channel which can be used for bidirectional peer-to-peer transfers of arbitrary data.

Link copied to clipboard

The RTCDataChannelEvent interface represents an event related to a specific RTCDataChannel.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed interface RTCDataChannelState
Link copied to clipboard
sealed interface RTCDegradationPreference
Link copied to clipboard
Link copied to clipboard
sealed interface RTCDtlsRole
Link copied to clipboard

The RTCDtlsTransport interface provides access to information about the Datagram Transport Layer Security (DTLS) transport over which a RTCPeerConnection's RTP and RTCP packets are sent and received by its RTCRtpSender and RTCRtpReceiver objects.

Link copied to clipboard
sealed interface RTCDtlsTransportState
Link copied to clipboard

The RTCDTMFSender interface provides a mechanism for transmitting DTMF codes on a WebRTC RTCPeerConnection.

Link copied to clipboard
open class RTCDTMFToneChangeEvent(    val type: EventType<RTCDTMFToneChangeEvent>,     init: RTCDTMFToneChangeEventInit = definedExternally) : Event

The RTCDTMFToneChangeEvent interface represents events sent to indicate that DTMF tones have started or finished playing.

Link copied to clipboard
Link copied to clipboard

The RTCEncodedAudioFrame of the WebRTC API represents an encoded audio frame in the WebRTC receiver or sender pipeline, which may be modified using a WebRTC Encoded Transform.

Link copied to clipboard
Link copied to clipboard

The RTCEncodedVideoFrame of the WebRTC API represents an encoded video frame in the WebRTC receiver or sender pipeline, which may be modified using a WebRTC Encoded Transform.

Link copied to clipboard
Link copied to clipboard
sealed interface RTCEncodedVideoFrameType
Link copied to clipboard
open class RTCError(init: RTCErrorInit, message: String = definedExternally) : DOMException

The RTCError interface describes an error which has occurred while handling WebRTC operations.

Link copied to clipboard
sealed interface RTCErrorDetailType
Link copied to clipboard

The WebRTC API's RTCErrorEvent interface represents an error sent to a WebRTC object.

Link copied to clipboard
Link copied to clipboard
interface RTCErrorInit
Link copied to clipboard
open class RTCIceCandidate(init: RTCLocalIceCandidateInit = definedExternally)

The RTCIceCandidate interface—part of the WebRTC API—represents a candidate Interactive Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection.

Link copied to clipboard
Link copied to clipboard
sealed interface RTCIceCandidatePair

The RTCIceCandidatePair dictionary describes a pair of ICE candidates which together comprise a description of a viable connection between two WebRTC endpoints.

Link copied to clipboard
Link copied to clipboard
sealed interface RTCIceCandidateType
Link copied to clipboard
sealed interface RTCIceComponent
Link copied to clipboard
sealed interface RTCIceConnectionState
Link copied to clipboard
sealed interface RTCIceGathererState
Link copied to clipboard
sealed interface RTCIceGatheringState
Link copied to clipboard
sealed interface RTCIceProtocol
Link copied to clipboard
sealed interface RTCIceRole
Link copied to clipboard
interface RTCIceServer
Link copied to clipboard
sealed interface RTCIceTcpCandidateType
Link copied to clipboard

The RTCIceTransport interface provides access to information about the ICE transport layer over which the data is being sent and received.

Link copied to clipboard
sealed interface RTCIceTransportPolicy
Link copied to clipboard
sealed interface RTCIceTransportState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class RTCPeerConnection(configuration: RTCConfiguration = definedExternally) : EventTarget

The RTCPeerConnection interface represents a WebRTC connection between the local computer and a remote peer.

Link copied to clipboard
Link copied to clipboard

The RTCPeerConnectionIceErrorEvent interface—based upon the Event interface—provides details pertaining to an ICE error announced by sending an RTCPeerConnection.icecandidateerror_event event to the RTCPeerConnection object.

Link copied to clipboard
open class RTCPeerConnectionIceEvent(    val type: EventType<RTCPeerConnectionIceEvent>,     init: RTCPeerConnectionIceEventInit = definedExternally) : Event

The RTCPeerConnectionIceEvent interface represents events that occur in relation to ICE candidates with the target, usually an RTCPeerConnection.

Link copied to clipboard
sealed interface RTCPeerConnectionState
Link copied to clipboard
sealed interface RTCPriorityType
Link copied to clipboard
Link copied to clipboard
sealed interface RTCRtcpMuxPolicy
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface RTCRtpCodec
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The RTCRtpReceiver interface of the WebRTC API manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection.

Link copied to clipboard
open class RTCRtpScriptTransform(worker: Worker, options: JsAny? = definedExternally, transfer: ReadonlyArray<*> = definedExternally)

The RTCRtpScriptTransform interface of the WebRTC API is used to insert a WebRTC Encoded Transform (a TransformStream running in a worker thread) into the WebRTC sender and receiver pipelines.

Link copied to clipboard

The RTCRtpScriptTransformer interface of the WebRTC API provides a worker-side Stream API interface that a WebRTC Encoded Transform can use to modify encoded media frames in the incoming and outgoing WebRTC pipelines.

Link copied to clipboard

The RTCRtpSender interface provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The WebRTC interface RTCRtpTransceiver describes a permanent pairing of an RTCRtpSender and an RTCRtpReceiver, along with some shared state.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The RTCSctpTransport interface provides information which describes a Stream Control Transmission Protocol (SCTP) transport.

Link copied to clipboard
sealed interface RTCSctpTransportState
Link copied to clipboard
sealed interface RTCSdpType
Link copied to clipboard
Link copied to clipboard

The RTCSessionDescription interface describes one end of a connection—or potential connection—and how it's configured.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed interface RTCSignalingState
Link copied to clipboard
interface RTCStats
Link copied to clipboard
Link copied to clipboard

The RTCStatsReport interface of the WebRTC API provides a statistics report for a RTCPeerConnection, RTCRtpSender, or RTCRtpReceiver.

Link copied to clipboard
sealed interface RTCStatsType
Link copied to clipboard

The WebRTC API interface RTCTrackEvent represents the RTCPeerConnection.track_event event, which is sent when a new MediaStreamTrack is added to an RTCRtpReceiver which is part of the RTCPeerConnection.

Link copied to clipboard
Link copied to clipboard

The RTCTransformEvent of the WebRTC API represent an event that is fired in a dedicated worker when an encoded frame has been queued for processing by a WebRTC Encoded Transform.

Link copied to clipboard