Audio streaming from Android device microphone

JPM jpmelian at gmail.com
Sun Feb 9 05:04:16 PST 2014


Do you know if there are any tutorial about how to upgrade to GStreamer
1.2.x ?.

Regards.


2014-02-08 20:02 GMT+01:00 Sebastian Dröge <sebastian at centricular.com>:

> On Sa, 2014-02-08 at 12:59 +0100, JPM wrote:
> > 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 ?
>
> First try if the problem still happens with GStreamer 1.2.x.
>
> But in general try to get a more complete debug log of the problem by
> e.g. calling gst_debug_set_default_threshold(GST_LEVEL_DEBUG) before
> starting your pipeline. Your "adb logcat" will be flooded with useful
> information then.
>
> --
> Sebastian Dröge, Centricular Ltd - http://www.centricular.com
> Expertise, Straight from the Source
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20140209/0290f4c1/attachment.html>


More information about the gstreamer-android mailing list