Created
December 9, 2023 15:24
-
-
Save pojntfx/2433d25f60c5de87c6860894a117acb7 to your computer and use it in GitHub Desktop.
Forward audio using Pipewire-Pulse/Pulseaudio over TCP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Note: This doesn't work yet. | |
socat tcp:128.140.106.133:1338,forever,interval=2,fork tcp:127.0.0.1:7000 | |
pactl load-module module-native-protocol-tcp port=7000 listen=127.0.0.1 | |
socat tcp-listen:7001,reuseaddr,fork tcp-listen:1338,reuseaddr | |
pactl load-module module-tunnel-sink server=tcp:127.0.0.1:7001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment