Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MediaStreamBroker

Media controllers acquire media streams from the MediaStreamBroker, which fulfills the requests either through direct getUserMedia requests or a higher-level intermediary such as a DeviceController. When a media controller no longer needs a media stream it calls releaseMediaStream.

Hierarchy

Implemented by

Index

Methods

acquireAudioInputStream

  • acquireAudioInputStream(): Promise<MediaStream>

acquireDisplayInputStream

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

acquireVideoInputStream

  • acquireVideoInputStream(): Promise<MediaStream>

bindToAudioVideoController

releaseMediaStream

  • releaseMediaStream(mediaStreamToRelease: MediaStream): void

Generated using TypeDoc