Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets the video device to use.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVRecorder 6.1 Yes Yes No No Yes
MBS( "AVRecorder.SetVideoDevice"; AVSession; Device )   More


Parameter Description Example value
AVSession The ID for the AVRecorder session as returned by AVRecorder.Init. $AVSession
Device The device name, ID or index. 0


Returns OK or error.


Sets the video device to use.


Sets to use first video device:

Set Variable [$r; Value:MBS("AVRecorder.SetVideoDevice"; AVRecorder::Session; 0)]

Use video device with name "FaceTime HD Camera":

Set Variable [$r; Value:MBS("AVRecorder.SetVideoDevice"; AVRecorder::Session; "FaceTime HD Camera")]

See also

Example Databases

Created 9th February 2016, last changed 19th February 2016

AVRecorder.SetScreenInput   -   AVRecorder.SetVideoMirrored

Feedback: Report problem or ask question.

MBS Xojo Plugins