From 400d7bf183e42b5fb17e3192c3638dbf7a5d0da7 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Mon, 23 Nov 2020 23:47:21 -0500 Subject: [PATCH] New Post --- content/blog/pulseaudiortp.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 content/blog/pulseaudiortp.md diff --git a/content/blog/pulseaudiortp.md b/content/blog/pulseaudiortp.md new file mode 100644 index 0000000..544346f --- /dev/null +++ b/content/blog/pulseaudiortp.md @@ -0,0 +1,19 @@ +--- +title: "Streaming PulseAudio over RTP" +date: 2020-11-23T23:41:41-05:00 +draft: false +tags: [] +--- + +With PulseAudio, we can send a RTP stream over multicast UDP. Here is the bash commands to setup a sink where anything sent to it gets broadcasted to the multicast address 224.0.0.56 at port 46416. + +```bash +pacmd load-module module-null-sink sink_name=RTP +pacmd update-sink-proplist RTP device.description=RTP +pacmd load-module module-rtp-send \ + source=RTP.monitor \ + destination_ip=224.0.0.56 \ + port=46416 +``` + +Then in `pavucontrol`, you can push the audio of any application to the RTP sink we just created. \ No newline at end of file