Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the file path for recording.
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 |
Path | File native file path. | "/Users/cs/test.m4v" |
Returns OK or error.
Sets a file path:
If [MBS("SystemInfo.isMacOSX")]
Set Field [AVRecorder::FilePath; MBS( "Folders.UserDesktop" ) & "/test.m4v"]
Else
Set Field [AVRecorder::FilePath; MBS( "Folders.UserDesktop" ) & "\test.avi"]
End If
Set Variable [$r; Value:MBS("AVRecorder.SetFilePath"; AVRecorder::Session; AVRecorder::FilePath)]
This function checks for a license.
Created 9th February 2016, last changed 17th July 2022