Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

AVRecorder.AddPreviewToWindow

Adds a preview area to the window.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AVRecorder 6.1 Yes Yes No No Yes

MBS( "AVRecorder.AddPreviewToWindow"; AVSession; WindowRef; X; Y; W; H )

Parameters

Parameter Description Example value
AVSession The ID for the AVRecorder session as returned by AVRecorder.Init. $AVSession
WindowRef Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. 0
X The x coordinate. 20
Y The y coordinate 200
W The width of the preview area. 320
H The height of the preview area. 200

Result

Returns OK or error.

Description

Adds a preview area to the window.

Examples

Start preview:

Set Variable [$r; Value:MBS("AVRecorder.AddPreviewToWindow"; $Session; Get(WindowName); 50; 200; 320; 240)]
Set Variable [$r; Value:MBS("AVRecorder.StartPreview"; $Session)]

See also

Example Databases


AVPlayer.SetVolume   -   AVRecorder.AudioDeviceCount

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins