<div dir="auto">Is ffplay sending sap advertisements?</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 12, 2018, 11:12 AM Antoine Vacher <<a href="mailto:antoine.vacher@tigre-bleu.net">antoine.vacher@tigre-bleu.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Any idea? I am still not figuring out what's wrong in my setup.<br>
<br>
Thanks,<br>
<br>
Antoine<br>
<br>
----- Mail original -----<br>
De: "Antoine Vacher" <<a href="mailto:antoine.vacher@tigre-bleu.net" target="_blank" rel="noreferrer">antoine.vacher@tigre-bleu.net</a>><br>
À: "pulseaudio-discuss" <<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank" rel="noreferrer">pulseaudio-discuss@lists.freedesktop.org</a>><br>
Envoyé: Mercredi 6 Juin 2018 20:41:10<br>
Objet: [pulseaudio-discuss] Problem to receive RTP stream from ffmpeg<br>
<br>
Hello,<br>
<br>
I struggle to perform my house audio setup. Let me explain:<br>
<br>
I have at home a raspberry pi with a USB microphone running under raspbian. Pulseaudio is not (and cannot) be installed on it. I stream the microphone with ffmpeg with the following command:<br>
<br>
arecord -D pcm.duplex -c2 -r 48000 -f S32_LE -t wav -V mono | avconv -i - -acodec libmp3lame -b 32k -f rtp rtp://<a href="http://225.5.5.5:1234/4" rel="noreferrer noreferrer" target="_blank">225.5.5.5:1234/4</a><br>
<br>
The streaming works correctly as I can listen to the audio from my laptop with the following command:<br>
<br>
ffplay rtp://<a href="http://225.5.5.5:1234" rel="noreferrer noreferrer" target="_blank">225.5.5.5:1234</a><br>
<br>
Now I have a home server where I have a tool that needs to use "rec" to work. Therefore I want to create a RTP source for the RTP stream and forward it to "rec" as default input.<br>
<br>
I checked with cli-visualizer script (configured for pulseaudio) and the following command works on the home server:<br>
<br>
ffplay rtp://<a href="http://225.5.5.5:1234" rel="noreferrer noreferrer" target="_blank">225.5.5.5:1234</a> -nodisp<br>
<br>
Pulseaudio runs in system mode on the server, I tried to create a RTP source in /etc/pulse/<a href="http://system.pa" rel="noreferrer noreferrer" target="_blank">system.pa</a> by adding<br>
<br>
load-module module-null-sink sink_name=rtp<br>
load-module module-rtp-recv sink=rtp sap_address=225.5.5.5<br>
set-default-source rtp.monitor<br>
<br>
There is no speakers on the server so I cannot verify if sound is played, however if I run cli-visualizer then there is no activity so my guess is that RTP stream is not captured by pulseaudio.<br>
<br>
Do you see what I miss?<br>
<br>
There is a lot of tutorials to stream RTP *from* pulseaudio, but there is a lot less help to send a RTP stream *to* pulseaudio that is not coming from another pulseaudio.<br>
<br>
Thanks!<br>
<br>
Antoine<br>
<br>
--<br>
Antoine Vacher<br>
mail/jabber: <a href="mailto:antoine.vacher@tigre-bleu.net" target="_blank" rel="noreferrer">antoine.vacher@tigre-bleu.net</a><br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank" rel="noreferrer">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org" target="_blank" rel="noreferrer">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</blockquote></div>