Class LocalStream

Hierarchy

Constructors

Properties

_listeners: { audioOutputChanged?: EventListener<{ args: [] }>[]; screenShareStreamStopped?: EventListener<{ args: [] }>[]; streamChanged?: EventListener<{ args: [MediaStream] }>[] } = {}

Type declaration

off: (<K>(type: K, callback: EventListener<LocalStreamEventMap[K]>) => void) = ...

Type declaration

on: (<K>(type: K, callback: EventListener<LocalStreamEventMap[K]>) => (() => void)) = ...

Type declaration

Accessors

  • get hasPermission(): boolean
  • Returns boolean

  • get isScreenSharing(): boolean
  • Returns boolean

  • get localStream(): MediaStream
  • Returns MediaStream

  • get mergedStream(): MediaStream
  • Returns MediaStream

  • get screenStream(): MediaStream
  • Returns MediaStream

Methods

  • Returns MediaStream

  • Returns void

  • Returns void

  • Returns void

  • Returns Promise<void>

Generated using TypeDoc