Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
AVRecorder.StartRecording
Starts recording.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVRecorder | 6.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
MBS( "AVRecorder.StartRecording"; AVSession ) More
Parameters
Parameter | Description | Example |
---|---|---|
AVSession | The ID for the AVRecorder session as returned by AVRecorder.Init. | $AVSession |
Result
Returns OK or error.
Description
Starts recording.Please call AVRecorder.SetFilePath before to define where to put file.
Examples
Start Recording:
Set Variable [$r; Value:MBS("AVRecorder.SetFilePath"; AVRecorder::Session; AVRecorder::FilePath)]
If [MBS("IsError")]
Show Custom Dialog ["Error"; $r]
Exit Script []
End If
Set Variable [$r; Value:MBS("AVRecorder.StartRecording"; AVRecorder::Session)]
If [MBS("IsError")]
Show Custom Dialog ["Error"; $r]
Exit Script []
End If
See also
- AVRecorder.Init
- AVRecorder.IsRecording
- AVRecorder.SetEncoder
- AVRecorder.SetFilePath
- AVRecorder.StopRecording
- IsError
Release notes
- Version 13.5
- Fixed a problem with AVRecorder.AddPreviewWithControl and AVRecorder.StartRecording functions when they returned OK instead of the error.
Example Databases
Blog Entries
This function checks for a license.
Created 9th February 2016, last changed 19th February 2016
AVRecorder.StartQRCodeDetection - AVRecorder.StopQRCodeDetection