How to add glib-networking GIO/GnuTLS modules while building for Android?

Sebastian Dröge sebastian at centricular.com
Sun Mar 27 12:53:04 UTC 2016


On So, 2016-03-27 at 14:26 +0200, marcin at saepia.net wrote:
> Hello,
> 
> I am building an app for Android, and when I create custom TLS
> Database, I get the error that " TLS support is not available".
> 
> That typically happens when GIO/GnuTLS modules are not available.
> 
> I am aware I can add it using standard methods for using prebuilt
> libraries, but is there any preferred way to add them to the
> gstreamer_android.so bundle?
> 
> My current GSTREAMER_EXTRA_DEPS are glib-2.0 gio-2.0

Use
  G_IO_MODULES := gnutls
in Android.mk

That's then also adding GST_G_IO_MODULE_DECLARE(gnutls)
and GST_G_IO_MODULE_LOAD(gnutls) to gstreamer_android.c.

-- 
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: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160327/57902bb6/attachment.sig>


More information about the gstreamer-devel mailing list