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
Sets the audio device to use.
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 |
Device | The device name, ID or index. | 0 |
Returns OK or error.
Sets first audio device:
Set Variable [$r; Value:MBS("AVRecorder.SetAudioDevice"; AVRecorder::Session; 0)]
Use audio device with name "Built-in Microphone":
Set Variable [$r; Value:MBS("AVRecorder.SetAudioDevice"; AVRecorder::Session; "Built-in Microphone")]
This function checks for a license.
Created 9th February 2016, last changed 22nd February 2016
AVRecorder.RequestAccessForMediaType - AVRecorder.SetAutomaticallyAdjustsVideoMirroring