Bind on port 554
Tanguy Mezzano
Tanguy.Mezzano at macq.eu
Fri Apr 6 13:24:14 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180406/d2ac4a01/attachment.html>
More information about the gstreamer-devel
mailing list