<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&gt; p.s. I'm having problems with the module-tunnel-sink as is but can't provide
<br>&gt; any useful information except for saying there is a problem :) more<br>&gt; specifically, has anyone had success in transfering a client from a local<br>&gt; (alsa) sink to a tunnel sink and back again? I fail at the &quot;and back again&quot;
<br>&gt; :( The application creating the sound is mplayer, and it just gets stuck at<br>&gt; that point (I'm using padsp mplayer, not the mplayer pulse patch - so maybe<br>&gt; the problem is in padsp?)<br><br>Hmm? Please elaborate!
</blockquote><div><br>well, I'll try, but I don't have much more to add, maybe if I give the steps that end with mplayer getting stuck someone can try to reproduce it. You need two machines, both running pulseaudio server, I tried both linux+windows and linux+linux. The second is more fresh in my memory so here are the steps:
<br><br>1. load both servers with module-protocol-native-tcp acl-ip=.. (or whatever you need for appropriate permissions)<br><br>2. in B, pacmd: load-module module-tunnel-sink server=A (A stands for the ip of A)<br><br>3. in B start mplayer using padsp: padsp mplayer some_url_here (I was streaming, but it shouldn't matter if it is a local file I guess). Music starts playing locally on B.
<br><br>4. in B change the sink for the mplayer client to the sink number of the tunnel module. you hear music coming from A. the exact command is something like &quot;move-sink-input &lt;index for mplayer&gt; &lt;index for tunnel sink&gt;&quot;
<br><br>5. in B change back the sink of mplayer to the local sink, the exact command is something like &quot;move-sink-input &lt;index of mplayer&gt; &lt;index of local sink&gt;&quot;. Music stops completely. Looking at the mplayer terminal output you see it is stuck.
<br><br>Hope this helps,<br><br>Alon&nbsp;</div><br></div>