GStreamer on Android with ALSA support?

Sebastian Dröge sebastian at centricular.com
Tue Dec 1 03:24:45 PST 2015


On Di, 2015-12-01 at 10:21 +0200, Sebastian Dröge wrote:
> On Mo, 2015-11-30 at 19:06 +0100, marcin at saepia.net wrote:
> > Hello,
> > 
> > I am running into issues I am unable to resolve by myself and I
> > would
> > appreciate some guidance.
> > 
> > I've cloned cerbero from the repo, and checked out tag 1.6.1. I am
> > using ubuntu 14.04. I've done the following:
> > 
> > 1. Added variants = ['alsa'] to config/cross-android.cbc
> > 2. Typed ./cerbero-uninstalled -c config/cross-android.cbc show-
> > config to ensure that alsa is enabled
> > 3. Run ./cerbero-uninstalled -c config/cross-android.cbc bootstrap
> > 4. Run ./cerbero-uninstalled -c config/cross-android.cbc package
> > gstreamer-1.0
> > 
> > and apparently the lib file is not generated. What am I doing
> > wrong?
> 
> ALSA is not public API on Android, and as such not included in the
> NDK.
> configure of gst-plugins-base won't find it and won't build the ALSA
> plugin as a result.
> 
> You will have to provide the library and headers for it yourself so
> that it can be built.

Also on Android often tinyalsa is used instead of libasound. The
GStreamer ALSA plugin currently does not support tinyalsa, but it
should be possible to make it work with both with some relatively
minimal effort.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151201/62d3ee79/attachment.sig>


More information about the gstreamer-devel mailing list