Android Internal data flow error + logcat debug

Sebastian Dröge sebastian at centricular.com
Wed May 21 23:51:44 PDT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20140522/47090ce5/attachment.sig>


More information about the gstreamer-embedded mailing list