Bug 76537 - autoaudiosrc does not work on Android
Summary: autoaudiosrc does not work on Android
Status: NEW
Alias: None
Product: GStreamer SDK
Classification: Unclassified
Component: Android SDK distribution (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 05:33 UTC by iiordanov
Modified: 2014-03-24 05:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.