Audio streaming from Android device microphone

JPM jpmelian at gmail.com
Sat Feb 8 03:59:12 PST 2014


Hi,

I am trying to stream audio from android device (gstreamer 0.10) with this
pipeline :

data->pipeline = gst_parse_launch("audiotestsrc ! audioconvert !
audio/x-raw-int,channels=1,depth=16,width=16,rate=48000 ! rtpL16pay !
udpsink host=192.168.1.150 port=5003", &error);

It works with audiotestsrc but when I try to stream audio from microphone :

data->pipeline = gst_parse_launch("autoaudiosrc ! audioconvert !
audio/x-raw-int,channels=1,depth=16,width=16,rate=48000 ! rtpL16pay !
udpsink host=192.168.1.150 port=5003", &error);

the following error appears : "Error received from element audioconvert0:
not negotiated"

Any help ?

Thanks and regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140208/292b5894/attachment.html>


More information about the gstreamer-android mailing list