"cameraToUse"

Use the default system camera

Synopsis

void cameraToUse(string deviceName = "")

Parameters

Parameter Description
deviceName Sets the camera used. The camera can be:
  • "<id>" : This uses a specific camera (by passing the camera's "id" name from the mapping in "availableCameras").
  • empty : This stops the use of any camera. VideoPlayer will no longer show the camera images.

Description

This function enables the use of the system default camera. In order to actually see the camera image stream, the camera feed must be started via "cameraStart".

Assignment

VideoPlayer.ewo