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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Adds a preview area to the window.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVRecorder | 6.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
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 |
Returns OK or error.
Start preview:
Set Variable [$r; Value:MBS("AVRecorder.AddPreviewToWindow"; $Session; Get(WindowName); 50; 200; 320; 240)]
Set Variable [$r; Value:MBS("AVRecorder.StartPreview"; $Session)]
This function checks for a license.
Created 18th February 2016, last changed 4th August 2020