Bind on port 554

Albin Stigö albin.stigo at gmail.com
Sun Apr 8 19:24:42 UTC 2018


It's not a gstreamer specific or problem but this should provide some hints

https://wiki.apache.org/httpd/NonRootPortBinding


--Albin

On Sun, Apr 8, 2018, 21:07 Tanguy Mezzano <Tanguy.Mezzano at macq.eu> wrote:

> Hello,
>
>
> How can I bind to a system port like 554?
>
> My process needs root rights to create such a socket but should be run
> with user permissions.
>
> I think of using seteuid function.
>
> My chain is divided into two chains: appsrc and appsink.
>
> First appsrc chain is set in playing state and creates files that
> shouldn't have root permissions.
>
>
> I call gst_rtsp_server_set_service(server, port); with root user and just
> after gst_rtsp_server_get_bound_port(server); but it returns -1?
>
>
> Thanks,
>
>
> *Tanguy Mezzano*
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180408/db8a48cb/attachment.html>


More information about the gstreamer-devel mailing list