getCameraConfig

Requires:
@ray-js/lock-sdk≥1.2.0

Method signature
getCameraConfig()

Description

Get information for all cameras

Parameters

None

Return Value

Type: CameraConfig[]
Info list
CameraConfig
PropertyTypeDescription
isVRbooleanWhether VR is supported
widthnumberResolution width
heightnumberResolution height
rotatenumberRotation angle 0/90/180/270
locationnumberCamera position 0 dvp internal camera 1 uvc top camera 2 uvc bottom camera

Examples

import { getCameraSettings } from '@ray-js/lock-sdk';
await getCameraSettings();