Skip to content

TAudioSource

type

TAudioSource = (as_Default, as_UseExternalAudio, as_UseMixAudioSample, as_SpeakerOutput, as_DefaultWithSpeakerRecording, as_Silent, as_IPcamera);

Type of the AudioSource property.

Possible values:

uses the audio output of the video capture device if any, otherwise uses the current audio capture device .

always uses the current audio capture device for the audio recording, even if the current source (e.g. a URL) exposes an audio output.

uses the sound card's audio output (captures whatever is rendered)

if AudioDeviceRendering is enabled, the audio of the current source is rendered, but the sound card's audio output is recorded

as_silent

generates an "empty" audio stream

as_IPCamera

allows using an IP camera as the audio source when previewing or recording a USB source, the screen or the video mixer (when VideoSource = vs_VideoCaptureDevice, vs_ScreenRecording or vs_Mixer).

VideoGrabber.IPCameraURL and, if needed, VideoGrabber.SetAuthentication (at_IPCamera, ...) must be set accordingly.

Value Description
as_Default
as_UseExternalAudio
as_SpeakerOutput
as_DefaultWithSpeakerRecording (during recording only)