Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DeviceControllerBasedMediaStreamBroker

Hierarchy

Implemented by

Index

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
  • Sets the video input quality parameters to request when enabling video. These settings take effect the next time a video input device is chosen. The default is 960x540 @ 15 fps with a max bandwidth of 1400 kbps.

    Parameters

    • width: number
    • height: number
    • frameRate: number
    • maxBandwidthKbps: number

    Returns void

createAnalyserNodeForAudioInput

getVideoInputQualitySettings

listAudioInputDevices

  • listAudioInputDevices(): Promise<MediaDeviceInfo[]>

listAudioOutputDevices

  • listAudioOutputDevices(): Promise<MediaDeviceInfo[]>

listVideoInputDevices

  • listVideoInputDevices(): Promise<MediaDeviceInfo[]>

mixIntoAudioInput

  • mixIntoAudioInput(stream: MediaStream): MediaStreamAudioSourceNode

releaseMediaStream

  • releaseMediaStream(mediaStreamToRelease: MediaStream): void

removeDeviceChangeObserver

setDeviceLabelTrigger

  • setDeviceLabelTrigger(trigger: () => Promise<MediaStream>): void
  • Sets the device label trigger to use in the case where media device labels are not present due to privacy restrictions in the browser. See above for an explanation of how this works.

    Parameters

    • trigger: () => Promise<MediaStream>
        • (): Promise<MediaStream>
        • Returns Promise<MediaStream>

    Returns void

startVideoPreviewForVideoInput

  • startVideoPreviewForVideoInput(element: HTMLVideoElement): void

stopVideoPreviewForVideoInput

  • stopVideoPreviewForVideoInput(element: HTMLVideoElement): void

Generated using TypeDoc