Class Client<PeerMetadata, TrackMetadata>

Type Parameters

  • PeerMetadata
  • TrackMetadata

Hierarchy

Constructors

Properties

bandwidthEstimation: bigint = ...
components: Record<string, PeerState<PeerMetadata, TrackMetadata>> = {}
componentsTracks: Record<string, TrackWithOrigin<PeerMetadata, TrackMetadata>> = {}
currentCameraTrackId: null | string = null
currentMicrophoneTrackId: null | string = null
currentScreenShareTrackId: null | string = null
deviceManager: DeviceManager
local: null | PeerState<PeerMetadata, TrackMetadata> = null
media: null | MediaState = null
peersTracks: Record<string, TrackWithOrigin<PeerMetadata, TrackMetadata>> = {}
reconnectionStatus: ReconnectionStatus = "idle"
screenShareManager: ScreenShareManager
status: PeerStatus = null

Methods

  • Returns (string | symbol)[]

  • Returns number

  • Type Parameters

    Parameters

    • event: E

    Returns number

  • Type Parameters

    Parameters

    • Optional event: E

    Returns this

  • Parameters

    • trackId: string
    • rid: string
    • bandwidth: number

    Returns Promise<boolean>

  • Parameters

    • maxListeners: number

    Returns this