Hierarchy

  • DeviceUtils

Constructors

Methods

  • Parameters

    Returns void

  • Parameters

    • devices: MediaDeviceInfo[]

      Array of device descriptors

    • deviceKinds: MediaDeviceKind[] = ...

      Filter for specific kinds of devices

    • Optional groupId: string

      Filter by group. A groupId specifies devices belonging together, eg. camera and microphone of a single webcam

    • Optional deviceId: string

      Filter by deviceId. Each device, cameras and microphones, has its unique id.

    Returns MediaDeviceInfo[]

    List of media device descriptors resulting

  • Returns Promise<MediaDeviceInfo[]>

  • Returns MediaTrackSupportedConstraints

  • Parameters

    Returns boolean

Generated using TypeDoc