Developer Documentation

Change Capture Device By Name

Change Capture Device By Name

IMPORTANT! Use the Async version in case you experience stuttering. Updates the capture device and restarts the capture stream of the Audio Capture component. The Async version runs asynchronously and does not block the main thread.

Inputs

NameTypeDescription
Execexec
Device NamenameThe name of the targeted capture device. Needs to be an exact match.
On Change Completed (Async Only)delegateCallback for when the change result is available. Used only in the async version.

Outputs

NameTypeDescription
Execexec
SuccessbooleanWhether or not the capture device was successfully changed. This is for the synchronous version only.