<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p style="margin-top:0; margin-bottom:0">Hello,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">How can I bind to a system port like 554?</p>
<p style="margin-top:0; margin-bottom:0">My process needs root rights to create such a socket but should be run with user permissions.</p>
<p style="margin-top:0; margin-bottom:0">I think of using seteuid function.</p>
<p style="margin-top:0; margin-bottom:0">My chain is divided into two chains: appsrc and appsink.</p>
<p style="margin-top:0; margin-bottom:0">First appsrc chain is set in playing state and creates files that shouldn't have root permissions.</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">I call <span>gst_rtsp_server_set_service(server, port); with root user and just after <span>gst_rtsp_server_get_bound_port(server); but it returns -1?</span></span></p>
<p style="margin-top:0; margin-bottom:0"><span><span><br>
</span></span></p>
<p style="margin-top:0; margin-bottom:0"><span><span>Thanks,</span></span></p>
<p style="margin-top:0; margin-bottom:0"><span><span><br>
</span></span></p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="text-align:left"></p>
<p style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px"><b style="font-size:12pt; font-family:'Times New Roman'"><font face="Arial" size="2">Tanguy Mezzano</font></b><br>
</p>
<div id="x_Signature" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:16px">
<br>
</div>
<p></p>
</div>
</div>
</div>
</body>
</html>