Re: pulseaudio over network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/7/20 3:15 PM, Richard Shaw wrote:
I didn't want to get specific as it's not a use case for many others outside of ham radio. Digital communications with ham radio is done with a sound card and the audio is sent to the radio and transmitted over the air where it is then captured and interpreted by the receiving station. I want to simulate this in a meeting environment with two laptops without radios.

I figured out a working configuration using rtp. Follow the same process on both computers. Copy /etc/pulse/default.pa to ~/.config/pulse. Then add the following lines at the end of the new file:

load-module module-null-sink sink_name=rtpout format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Out' device.bus='network' device.icon_name='network-server'"
load-module module-rtp-send source=rtpout.monitor loop=0

load-module module-null-sink sink_name=rtpin format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast In' device.bus='network' device.icon_name='network-server'"
load-module module-rtp-recv sink=rtpin
load-module module-remap-source source_name=rtploop master=rtpin.monitor

Run "pulseaudio -k" to restart pulseaudio. Now in the sound settings, you can pick the RTP Out for the output and the Remapped Monitor of RTP In as the input. I tested it with audacity and despite using the default pulse input, it kept insisting on reading the microphone. So I used pavucontrol to set its input to the right one. I was then recording what I was playing from the other computer.

You could probably do this with one of the other transports as well, but paprefs almost made this setup work, so I only had to add a bit more to have it fully working.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux