Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

AVRecorder.VideoDeviceCount

Queries number of video devices found by the plugin.

Component Version macOS Windows Linux Server iOS SDK
AVRecorder 6.1 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "AVRecorder.VideoDeviceCount"; AVSession )   More

Parameters

Parameter Description Example
AVSession The ID for the AVRecorder session as returned by AVRecorder.Init. $AVSession

Result

Returns number or error.

Description

Queries number of video devices found by the plugin.
Calling this function will rebuild the device list, so you can query it with the other functions like AVRecorder.VideoDeviceInfo.
This should find built-in webcam as well as external USB cameras.

See also

Example Databases

This function checks for a license.

Created 18th February 2016, last changed 5th February 2024


AVRecorder.StopRecording - AVRecorder.VideoDeviceInfo