Bug 76537

Summary: autoaudiosrc does not work on Android
Product: GStreamer SDK Reporter: iiordanov
Component: Android SDK distributionAssignee: bugs
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description iiordanov 2014-03-24 05:33:00 UTC
Hello!

I develop a couple of apps for Android, Opaque and aSPICE, which use spice-gtk. I also use Gstreamer SDK for audio support.

In order for recording to work on Android, I had to change a line of code in spice-gtk from:

gchar *pipeline = g_strdup_printf("autoaudiosrc name=audiosrc ! queue !  audioconvert ! audioresample ! appsink caps=\"%s\" name=appsink", audio_caps);

to:

gchar *pipeline = g_strdup_printf("openslessrc name=audiosrc ! queue ! audioconvert ! audioresample ! appsink caps=\"%s\" name=appsink", audio_caps);

Is it a known issue that autoaudiosrc does not work on Android? Was this workaround the proper one?

Thanks!
iordan

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.