http-launch on Android

Lee Matthews lma at spaceapplications.com
Thu May 29 02:46:08 PDT 2014


Ok, I've got it working with gio, it seems to be some kind of conflict with another NDK component that I've added to my apk. I'm currently investigating to try and find the exact source of the problem.

----- Original Message -----
From: "Lee Matthews" <lma at spaceapplications.com>
To: "Discussion of the development of and with GStreamer" <gstreamer-devel at lists.freedesktop.org>
Sent: Thursday, 29 May, 2014 10:43:50 AM
Subject: Re: http-launch on Android

Yes, I have set internet permissions in the manifest. It doesn't make any difference.

----- 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: Thursday, 29 May, 2014 10:40:15 AM
Subject: Re: http-launch on Android

On Do, 2014-05-29 at 10:22 +0200, Lee Matthews wrote:
> 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.

Do you have the INTERNET permission enabled in your application? If you
have, do you get the same error when using normal BSD socket operations
for that instead of GIO?

-- 
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
_______________________________________________
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