added pulse rtp script
This commit is contained in:
parent
f8f5acf482
commit
e286b1bfd1
7
pulsedroid-rtp.sh
Executable file
7
pulsedroid-rtp.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
DEST=$(getent hosts degenerate.penguin | awk '{ print $1 }')
|
||||||
|
echo $DEST
|
||||||
|
pactl unload-module module-null-sink
|
||||||
|
pactl unload-module module-rtp-send
|
||||||
|
pactl load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=48000
|
||||||
|
pactl load-module module-rtp-send source=rtp.monitor destination=$DEST port=4010 mtu=320
|
||||||
Loading…
x
Reference in New Issue
Block a user