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.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
Statistic
FMM
Blog
AVRecorder.StartPreview
Starts the preview.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVRecorder | 6.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
Parameters
Parameter | Description | Example |
---|---|---|
AVSession | The ID for the AVRecorder session as returned by AVRecorder.Init. | $AVSession |
Result
Returns OK or error.
Description
Starts the preview.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)]
Add preview to our layout:
# go to the right layout
Go to Layout [ “Webcam” (LiveStream) ; Animation: None ]
New Record/Request
# pause to actually show the new layout
Pause/Resume Script [ Duration (seconds): ,3 ]
# place preview on the control
Set Variable [ $r ; Value: MBS( "AVRecorder.AddPreviewWithControl"; $$SessionID; 0; "Preview" ) ]
# Start video stream
Set Variable [ $r ; Value: MBS( "AVRecorder.StartPreview"; $$sessionID ) ]
See also
- AVRecorder.AddPreviewToWindow
- AVRecorder.AddPreviewWithControl
- AVRecorder.CaptureStillPhoto
- AVRecorder.ClosePreview
- AVRecorder.Init
Release notes
- Version 10.5
- Fixed crash with AVRecorder.StartPreview, AVRecorder.AddPreviewWithControl and AVRecorder.AddPreviewToWindow if you call those twice.
- Version 10.3
- Fixed AVRecorder.StartPreview for iOS to position layer correctly.
- Version 8.2
- Fixed problem in AVRecorder.StartPreview to run a second time. ClosePreview now stops preview correctly, so we can start it again later.
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 10.5pr6
- MBS FileMaker Plugin, version 10.3pr10
- MBS FileMaker Plugin, version 8.2pr7
This function checks for a paid license.
Created 18th February 2016, last changed 24th February 2022
AVRecorder.ShowPropertyDialog - AVRecorder.StartQRCodeDetection
