Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultDeviceController

Hierarchy

  • DefaultDeviceController

Implements

Index

Constructors

constructor

Methods

acquireAudioInputStream

  • acquireAudioInputStream(): Promise<MediaStream>

acquireDisplayInputStream

  • acquireDisplayInputStream(streamConstraints: MediaStreamConstraints): Promise<MediaStream>

acquireVideoInputStream

  • acquireVideoInputStream(): Promise<MediaStream>

addDeviceChangeObserver

bindToAudioVideoController

chooseAudioInputDevice

chooseAudioOutputDevice

  • chooseAudioOutputDevice(deviceId: string | null): Promise<void>

chooseVideoInputDevice

chooseVideoInputQuality

  • chooseVideoInputQuality(width: number, height: number, frameRate: number, maxBandwidthKbps: number): void

createAnalyserNodeForAudioInput

createAnalyserNodeForRawAudioInput

destroy

  • destroy(): Promise<void>

getVideoInputQualitySettings

hasAppliedTransform

  • hasAppliedTransform(): boolean

listAudioInputDevices

  • listAudioInputDevices(): Promise<MediaDeviceInfo[]>

listAudioOutputDevices

  • listAudioOutputDevices(): Promise<MediaDeviceInfo[]>

listVideoInputDevices

  • listVideoInputDevices(): Promise<MediaDeviceInfo[]>

mixIntoAudioInput

  • mixIntoAudioInput(stream: MediaStream): MediaStreamAudioSourceNode

releaseMediaStream

  • releaseMediaStream(mediaStreamToRelease: MediaStream | null): void

removeDeviceChangeObserver

setDeviceLabelTrigger

  • setDeviceLabelTrigger(trigger: () => Promise<MediaStream>): void

startVideoPreviewForVideoInput

  • startVideoPreviewForVideoInput(element: HTMLVideoElement): void

stopVideoPreviewForVideoInput

  • stopVideoPreviewForVideoInput(element: HTMLVideoElement): void

Static closeAudioContext

  • closeAudioContext(): void

Static createEmptyAudioDevice

  • createEmptyAudioDevice(): MediaStream

Static createEmptyVideoDevice

  • createEmptyVideoDevice(): MediaStream | null

Static getAudioContext

  • getAudioContext(): AudioContext

Static getIntrinsicDeviceId

  • getIntrinsicDeviceId(device: Device): string | string[] | null

Static synthesizeAudioDevice

  • synthesizeAudioDevice(toneHz: number): MediaStream

Static synthesizeVideoDevice

  • synthesizeVideoDevice(colorOrPattern: string): MediaStream | null

Generated using TypeDoc