• Preparing search index...
  • The search index is not available
@bengreenier/react-user-media
  • @bengreenier/react-user-media
  • useMediaDevices

Function useMediaDevices

  • useMediaDevices(options?): MediaDeviceState
  • Hook that allows the caller to obtain a list of devices on behalf of the user.

    See https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices|enumerateDevices.

    Parameters

    • Optionaloptions: UseMediaDeviceOptions

      the caller-defined options for the hook.

    Returns MediaDeviceState

    see MediaDeviceState for more information.

    • Defined in hooks/use-media-devices.ts:96

Settings

Member Visibility
@bengreenier/react-user-media
  • Loading...

Generated using TypeDoc with typedoc-github-theme