Android Internal data flow error + logcat debug

Lee Matthews lma at spaceapplications.com
Fri May 16 07:15:40 PDT 2014


Hi

I'm trying to read an audio stream from an android phone using gstreamer. My 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 ?

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.

Thanks in advance.

Lee


More information about the gstreamer-devel mailing list