Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

RTCPeerConnection

RTCPeerConnection: object

Type declaration

canTrickleIceCandidates

canTrickleIceCandidates: boolean | null

connectionState

connectionState: RTCPeerConnectionState

currentLocalDescription

currentLocalDescription: RTCSessionDescription | null

currentRemoteDescription

currentRemoteDescription: RTCSessionDescription | null

iceConnectionState

iceConnectionState: RTCIceConnectionState

iceGatheringState

iceGatheringState: RTCIceGatheringState

idpErrorInfo

idpErrorInfo: string | null

idpLoginUrl

idpLoginUrl: string | null

localDescription

localDescription: RTCSessionDescription | null

onconnectionstatechange

onconnectionstatechange: function | null

ondatachannel

ondatachannel: function | null

onicecandidate

onicecandidate: function | null

onicecandidateerror

onicecandidateerror: function | null

oniceconnectionstatechange

oniceconnectionstatechange: function | null

onicegatheringstatechange

onicegatheringstatechange: function | null

onnegotiationneeded

onnegotiationneeded: function | null

onsignalingstatechange

onsignalingstatechange: function | null

onstatsended

onstatsended: function | null

ontrack

ontrack: function | null

peerIdentity

peerIdentity: Promise<RTCIdentityAssertion>

pendingLocalDescription

pendingLocalDescription: RTCSessionDescription | null

pendingRemoteDescription

pendingRemoteDescription: RTCSessionDescription | null

remoteDescription

remoteDescription: RTCSessionDescription | null

sctp

sctp: RTCSctpTransport | null

signalingState

signalingState: RTCSignalingState

Methods

addEventListener

addIceCandidate

addTrack

addTransceiver

close

  • close(): void
  • Returns void

createAnswer

createDataChannel

createOffer

dispatchEvent

  • dispatchEvent(event: Event): boolean
  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    • event: Event

    Returns boolean

getConfiguration

getIdentityAssertion

  • getIdentityAssertion(): Promise<string>

getReceivers

getSenders

getStats

getTransceivers

  • getTransceivers(): RTCRtpTransceiver[]

removeEventListener

removeTrack

setConfiguration

setIdentityProvider

setLocalDescription

setRemoteDescription

Generated using TypeDoc