how to stream a microphone over a lan?
Luca Della Ghezza
luca_dgh at yahoo.it
Thu Feb 9 12:16:02 PST 2012
Well, in a another question in this mailing-list I learned that
gstreamer can manage gconf data.
I have a simple script that connect two pc through ssh and open an audio
connection using "arecord | aplay" command. Now I wish to switch to
gstreamer, because it can use gconf data and detect automatically the
audio device for the mic (gconfaudiosrc).
I tried this simple pipe in local and it works:
gst-launch gconfaudiosrc ! volume volume=1.5 ! alsasink
Now I wish to try to stream the mic, this way:
server side (192.168.0.2)
gst-launch gconfaudiosrc ! tcpserversink host=192.168.0.1
port=5000
client side (192.168.0.1)
gst-launch tcpclientsrc host=192.168.0.2 port=5000 !
autoaudiosink
(I need to use TCP because the router filters UDP)
But it doesn't work, on the client side it says that there is a format
error because it can't negotiate the format.
I hardly tried to search the web looking for a solution, but the few
solutions I founded was not working.
Please can someone tell me how I can write the 2 pipes or where I can
find documentation about this?
Thank you so much.
Luquino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120209/25e64212/attachment.htm>
More information about the gstreamer-devel
mailing list