"availableCameras"

This function shows the cameras available on the system.

Synopsis

dyn_mapping availableCameras(string position = "")

Parameters

Parameter Description
position Filters the cameras according to position. The position can be:
  • "BackFace"
  • "FrontFace"
  • empty
An empty parameter returns all cameras.

Description

This function shows the cameras available on the system.

The returned mapping contains information about the camera:

  • id (string): A unique ID to identify the camera. This may not be human-readable.
  • description (string): A human-readable description of the camera.
  • position (string): The position of the camera.
  • isDefault (bool): Will be "true" if this is the default camera.

Assignment

VideoPlayer.ewo