Files
dotfiles/bin/rtp-receiver.sh
T
2026-03-12 02:07:07 +07:00

17 lines
301 B
Bash
Executable File

#!/bin/bash
action=$1
case $action in
load)
pactl load-module module-rtp-recv \
codec=audio/L16 \
channels=2 \
rate=48000 \
format=s16be \
sap=0
;;
unload)
pactl unload-module module-rtp-recv
;;
esac