Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultDeviceController

Hierarchy

  • DefaultDeviceController

Implements

Index

Constructors

constructor

Properties

Optional eventController

eventController: EventController

Methods

acquireAudioInputStream

  • acquireAudioInputStream(): Promise<MediaStream>

acquireDisplayInputStream

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

acquireVideoInputStream

  • acquireVideoInputStream(): Promise<MediaStream>

addDeviceChangeObserver

addMediaStreamBrokerObserver

chooseAudioOutput

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

chooseVideoInputQuality

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

createAnalyserNodeForAudioInput

createAnalyserNodeForRawAudioInput

destroy

  • destroy(): Promise<void>

getVideoInputQualitySettings

hasAppliedTransform

  • hasAppliedTransform(): boolean

listAudioInputDevices

  • listAudioInputDevices(forceUpdate?: boolean): Promise<MediaDeviceInfo[]>

listAudioOutputDevices

  • listAudioOutputDevices(forceUpdate?: boolean): Promise<MediaDeviceInfo[]>

listVideoInputDevices

  • listVideoInputDevices(forceUpdate?: boolean): Promise<MediaDeviceInfo[]>

mixIntoAudioInput

  • mixIntoAudioInput(stream: MediaStream): MediaStreamAudioSourceNode

muteLocalAudioInputStream

  • muteLocalAudioInputStream(): void

removeDeviceChangeObserver

removeMediaStreamBrokerObserver

setDeviceLabelTrigger

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

startAudioInput

startVideoInput

startVideoPreviewForVideoInput

  • startVideoPreviewForVideoInput(element: HTMLVideoElement): void

stopAudioInput

  • stopAudioInput(): Promise<void>

stopVideoInput

  • stopVideoInput(): Promise<void>

stopVideoPreviewForVideoInput

  • stopVideoPreviewForVideoInput(element: HTMLVideoElement): void

unmuteLocalAudioInputStream

  • unmuteLocalAudioInputStream(): void

Static closeAudioContext

  • closeAudioContext(): void

Static createEmptyAudioDevice

  • createEmptyAudioDevice(): MediaStream

Static getAudioContext

  • getAudioContext(): AudioContext

Static getIntrinsicDeviceId

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

Static synthesizeAudioDevice

  • synthesizeAudioDevice(toneHz: number): MediaStream

Generated using TypeDoc