H.264 Audio
HDMI Audio Support
Audio feature overview
The latest One-KVM supports real-time HDMI audio transmission via H.264/WebRTC, with audio quality sufficient for smooth music playback. The system uses the Linux ALSA sound driver, while ustreamer and janus capture HDMI audio and transcode it to Opus.
Configuration
Docker users
Use the environment variable -e AUDIONUM=0
to specify the audio device. See the Docker environment variables.
Integrated image users
Edit the audio configuration file /etc/kvmd/janus/janus.plugin.ustreamer.jcfg
:
Configuration notes:
device
: audio device addresstc358743
: capture card video device path
Find audio devices
On Linux, use the following commands to list available audio devices:
The following three methods are supported to specify the audio device:
- By card index:
hw:0
- By card name:
hw:CARD=MS2109
- By device file:
hw:/dev/snd/controlC0
Choose one method to enable HDMI audio.