Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
AVRecorder.SetAudioDevice
Sets the audio device to use.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVRecorder | 6.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
MBS( "AVRecorder.SetAudioDevice"; AVSession; Device ) More
Parameters
Parameter | Description | Example |
---|---|---|
AVSession | The ID for the AVRecorder session as returned by AVRecorder.Init. | $AVSession |
Device | The device name, ID or index. | 0 |
Result
Returns OK or error.
Description
Sets the audio device to use.Examples
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")]
See also
- AVRecorder.AudioDeviceInfo
- AVRecorder.GetAudioDevice
- AVRecorder.GetVideoDevice
- AVRecorder.Init
- AVRecorder.SetVideoDevice
Release notes
- Version 11.3
- Improved AVRecorder.AudioDeviceInfo, AVRecorder.SetAudioDevice, AVRecorder.SetVideoDevice and AVRecorder.VideoDeviceInfo to query device list automatically.
Example Databases
Blog Entries
This function checks for a license.
Created 9th February 2016, last changed 22nd February 2016
AVRecorder.RequestAccessForMediaType - AVRecorder.SetAutomaticallyAdjustsVideoMirroring