Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    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

Blog Entries

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

AVRecorder.SetScreenInput   -   AVRecorder.SetVideoMirrored

Feedback: Report problem or ask question.

MBS FileMaker blog