Re: Android Internal data flow error + logcat debug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Fr, 2014-05-16 at 16:13 +0200, Lee Matthews wrote:
> Hi
> 
> I'm trying to read an audio stream from an android phone using gstreamer. My gstreamer application is based on the gstreamer android tutorials.
> 
> My audio pipeline on the phone is 
> 
> tcpclientsrc ! opusdec ! audioconvert ! openslessink
> 
> In logcat I get the following error message.
> 
> D/AUDIO-SINK(31971): gstreamer : Element audio-stream : stream-start message
> W/GStreamer+basesrc(31971): 0:00:16.055237494 0x75962ac0 gstbasesrc.c:2865:gst_base_src_loop:<source> error: Internal data flow error.
> W/GStreamer+basesrc(31971): 0:00:16.056187963 0x75962ac0 gstbasesrc.c:2865:gst_base_src_loop:<source> error: streaming task paused, reason error (-5)
> I/GLib+stdout(31971): network : 
> 
> Does anyone know what is reason error -5 ?

That's GST_FLOW_ERROR, so not very useful on it's own. You need to get
more debug logs, e.g. with GST_LEVEL_DEBUG.

> Does anyone know how I can increase the verbosity of the debug
> information in logcat ? I have tried setting
> gst_debug_set_default_threshold (GST_LEVEL_DEBUG) just after gst_init
> but this does not seem to do anything.

Is something calling gst_debug_set_default_threshold() again later? That
would be the only reason why you see the above logs, but not more after
you call that function yourself. Note that the above W/GStreamer+basesrc
lines require something to call
gst_debug_set_default_threshold(GST_LEVEL_WARNING)
already.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
gstreamer-embedded mailing list
gstreamer-embedded@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded

[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux