http-launch on Android

Lee Matthews lma at spaceapplications.com
Thu May 29 01:22:23 PDT 2014


Thanks Sebastian, that fixed the issue.

The problem I'm having now is that g_socket_listener_add_inet_port (G_SOCKET_LISTENER (service), 9090, NULL, &err); keeps failing and returning a "Error binding to address : Address already in use" message. I've looked, as root, at netstat and 9090 is not in use. Equally, the port 8080 produces the same error, again according to netstat it isn't in use either.



----- Original Message -----
From: "Sebastian Dröge" <sebastian at centricular.com>
To: "Discussion of the development of and with GStreamer" <gstreamer-devel at lists.freedesktop.org>
Sent: Wednesday, 28 May, 2014 9:44:48 PM
Subject: Re: http-launch on Android

On Mi, 2014-05-28 at 21:37 +0200, Lee Matthews wrote:
> I was originally trying to build the code using ndk-build and the linker was complaining that it couldn't find a few functions that are in the gio library.
> 
> So I added libgio-2.0.a as a prebuilt static library to my Android.mk build script. It then compiled ok, but I'm getting runtime errors.
> 
> When I'm in the office tomorrow, I can send a copy of my Android.mk.

Yeah well, by this you link in gio twice :) Add
GSTREAMER_EXTRA_DEPS := gio-2.0
to your Android.mk and don't link in libgio-2.0.a manually.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list