Configuration: Audio Sources

About

Source Types for microphones are configured in the General tab when editing microphones. This section is where you control the connection settings for your microphone, ensuring correct communication between the microphone and Agent DVR.

Camera

The Camera source type is utilized when the camera's media stream (typically RTSP) includes an audio track, and Agent DVR has automatically created a corresponding microphone control for it. This source type is not editable, as it is configured based on the audio component of the camera's media stream.

Clone

The Clone source type enables you to duplicate the audio from an existing device into a new one. This allows for separate sound processing, recording rules, and alerts to be applied to the new device without impacting the original. It's important to note that if the original device is disabled, the clone will lose its audio connection.

  • Microphone: Select the device you wish to clone.

iSpy Server

This option allows you to stream audio from iSpyServer, a feature of the iSpy software that facilitates local and remote streaming.

  • URL: Enter the URL for the audio stream from iSpyServer. For example: http://192.168.1.20:9000/

Local Device

Connect to USB microphones or other local hardware audio sources using this option.

  • Device: Select from the list of detected local audio devices.
  • Option: On Windows, choose the audio format (sample rate and channels) for the selected device.

MP3

Stream audio from an MP3 network source using this option.

  • URL: Enter the URL to the MP3 audio stream. For example: http://192.168.1.20/livestream.mp3

NDI

Connect to the audio stream from a Network Device Interface (NDI) source on your network. For NDI discovery settings, see NDI server settings.

  • Source: Select from the list of detected NDI sources.
  • Audio Level: Adjust the audio level coming from the selected NDI source.

File or URL

The Network Microphone source type streams audio from a network audio source or a local file.

  • File/URL: Enter the file path or URL from which to stream audio. Examples include http://192.168.1.20/livestream.mp3 or D:\test.mp3
  • Analyse Duration: Specify the duration for FFmpeg to analyze the streams to determine the best codecs and streams. A value of 0 means the decision is made automatically.
  • Loop: When playing a file, automatically replay it once it reaches the end.
  • Decoder: Choose between FFmpeg or VLC (if VLC is installed).
  • Options: Input any additional FFmpeg options as required.

The File source type is a simpler option for playing back a local audio file:

  • File Path: The path to the audio file to play.
  • Loop: Automatically replay the file once it reaches the end.

Wasapi

For Windows users, this option allows for the integration of WASAPI audio devices, including capturing the sound your computer is playing.

  • Device: Select the desired WASAPI device from the available options. Choose Loopback to capture the computer's audio output.

Wave

This option allows you to connect to a Wave (.wav) network audio source.

  • URL: Enter the URL to the audio stream.
  • Sample Rate: Specify the sample rate of the audio.
  • Channels: Define the number of audio channels in the stream.

Advanced

Advanced options provide additional tools to help you connect to your devices.

  • Prefer TCP: Prefer TCP connections for network audio, which provides error correction at the cost of increased overhead.
  • Auto Switch: Automatically switch between TCP and UDP transports if the connection fails.
  • HTTP Tunneling: Tunnel RTSP over HTTP. This can help when connecting through firewalls or proxies.
  • Validate Certificate: Validate SSL certificates when connecting. Leave this off for devices that use self-signed certificates.
  • Low Delay: Reduce latency in the stream. Disabling this can improve stream quality.
  • Connection Timeout: Specify how long to wait (in milliseconds) for the microphone to respond before giving up.
  • Reconnect Interval: Set this to periodically close and reconnect the connection to the microphone (in seconds, 0 = never).