Configuring audio

Updated: March 11, 2025

This chapter describes how you can configure the audio components of the QNX cloud target.

You can configure the following audio components:
Note: Any setting adjustments to improve one area of performance may negatively impact another. Always test the system environment when determining the optimal settings.

Audio configuration files

You can find the audio configuration file io_audio.conf in /etc/system/config.

For details on using the audio configuration file, go to the Audio configuration file section of the io-audio utility in the QNX Neutrino Utilities Reference.

WebRTC audio devices

You can declare the audio playback and record devices before you initialize webrtc-server-iosock with -enable-audio. You declare the audio devices using the following parameters, where the device numbers are <X> and <Y>:
  • WEBRTC_AUDIO_PLAY_DEVICE=<X>:0
  • WEBRTC_AUDIO_RECORD_DEVICE=<Y>:0
The device declarations can be in the same command-line as webrtc-server-iosock --external-ip=<InstanceIP> --enable-audio. For example, the following command declares the audio playback device as device 1 and the audio record as device 0, and then initializes webrtc-server-iosock:
WEBRTC_AUDIO_PLAY_DEVICE=1:0 WEBRTC_AUDIO_RECORD_DEVICE=0:0
webrtc-server-iosock --external-ip=<InstanceIP> --enable-audio