Use two servers at the same time

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

 



On Tue, 2017-10-24 at 15:56 +0200, Alex ARNAUD wrote:
> Dear all,
> 
> I'm a low-vision person. I need to process to remote desktop support and 
> remote training with users.
> At this time I redirect the sound from the user computer to my computer 
> via pax11publish but the remote computer has no longer sound.
> 
> Is there a way to have the sound on both computer at the same time ?

Instead of using pax11publish, you can do this on the remote computer:

    pactl load-module module-tunnel-sink server=YOUR_ADDRESS sink_name=tunnel_to_alex
    pactl load-module module-combine-sink sink_name=combined_sink slaves=tunnel_to_alex,LOCAL_SINK_NAME

Replace "YOUR_ADDRESS" with the address of your computer and
LOCAL_SINK_NAME with the local sound card sink name of the remote
computer.

This will create two new sinks on the remote machine. The first one is
named "tunnel_to_alex", and anything played to that sink will be
forwarded to your computer. The second one is named "combined_sink",
and anything played to it will be forwarded to "tunnel_to_alex" and the
local sound card sink.

If you're not sure how to find out what LOCAL_SINK_NAME should be,
"pactl list sinks | grep Name:" will list the names of all available
sinks. The local sound card sink name is probably something like
alsa_output.pci-0000_00_1b.0.analog-stereo.

-- 
Tanu

https://www.patreon.com/tanuk


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux