<div dir="auto">Thanks Ross </div><div dir="auto"><br></div><div dir="auto">I specifically looking for the host address /IP form the requests.</div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">בתאריך יום ב׳, 22 בפבר׳ 2021 ב-0:18 מאת Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0.8ex;border-right-width:1px;border-right-style:solid;padding-right:1ex;border-right-color:rgb(204,204,204)"><br>
<br>
> On Feb 21, 2021, at 1:58 PM, Idan Freiberg <<a href="mailto:idan@tokagroup.com" target="_blank">idan@tokagroup.com</a>> wrote:<br>
> <br>
> Hello,<br>
> <br>
> Is it possible to fetch or extract RTSP requests headers such as DESCRIBE/OPTIONS/... like getting the *full* URL passed to the server, eg. DESCRIBE rtsp://<host>/params (including the host part) ?<br>
> <br>
> What’s the best way to achieve this?<br>
<br>
For “DESCRIBE”: Note that the virtual function “RTSPServer::handleCmd_DESCRIBE()” takes a parameter “fullRequestStr”, which will be the complete RTSP “DESCRIBE” request. You could subclass the class “RTSPServer”, and, in your subclass, reimplement “RTSPServer::handleCmd_DESCRIBE()” to do whatever you want with “fullRequestStr” (and then call “RTSPServer:: handleCmd_DESCRIBE()” to do the real work).<br>
<br>
But a better question is: Why specifically do you want to do this? What information do you think is in these RTSP requests that you feel our existing server implementation is not already using the way you want?<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" rel="noreferrer" target="_blank">http://www.live555.com/</a><br>
<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" rel="noreferrer" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p style="margin:0cm"><b style="color:rgb(34,34,34)"><span lang="en-IL" style="font-size:18pt;font-family:Arial,sans-serif;color:rgb(7,55,99);letter-spacing:0.25pt"><img border="0" width="52" height="64" src="https://docs.google.com/uc?export=download&id=1E7eJRLbRy_6_ut5d_DsxKI4M84ktGQ1b&revid=0B5YGrTZ_iHcNSXYvSGl2bW1pczRERDg0d0s5K1lwODkweFJrPQ" style="width:0.5416in;height:0.6666in"></span></b><b><span lang="en-IL" style="font-size:13.5pt;font-family:Arial,sans-serif;letter-spacing:0.25pt"><font color="#666666">Idan Freiberg</font></span><span lang="en-IL" style="color:rgb(7,55,99);font-family:Arial,sans-serif;letter-spacing:0.25pt;font-size:24px"> </span></b><span lang="en-IL" style="font-size:12pt;font-family:Arial,sans-serif;letter-spacing:0.25pt"><font color="#999999">Software Engineer</font></span></p><p style="color:rgb(34,34,34);margin:0cm;font-stretch:normal"><span lang="en-IL"><img border="0" width="396" height="25" src="https://docs.google.com/uc?export=download&id=1G7brTliHaFUdHpNiFg2KidobZKtlGmbL&revid=0B5YGrTZ_iHcNaWVjdlpsTG1uSUlzbGhUeGFXSE1EcHhCRG9rPQ" style="width:4.125in;height:0.2583in"></span><span lang="en-IL"><u></u><u></u></span></p><p style="color:rgb(34,34,34);margin:0cm;font-stretch:normal"><span lang="en-IL" style="font-size:9pt;font-family:Helvetica,sans-serif;color:rgb(58,70,83)">Tel. + 972 522 925 213 |</span><span lang="en-IL" style="font-size:9pt;font-family:Helvetica,sans-serif;color:rgb(7,55,99)"> </span><span lang="en-IL" style="font-size:9pt;font-family:Helvetica,sans-serif;color:rgb(58,70,83)"><img border="0" width="16" height="16" src="https://docs.google.com/uc?export=download&id=1FJVjNGhyvqJfgUTldz29PCpn36MTrazI&revid=0B5YGrTZ_iHcNWWs3VEl5YVRqYVEydVFFQ3piZ0d2RVdyRTZRPQ" style="width:0.1666in;height:0.1666in"></span><span lang="en-IL" style="font-size:9pt;font-family:Helvetica,sans-serif;color:rgb(58,70,83)"> Toka</span><span lang="HE" dir="RTL"><u></u><u></u></span></p><p style="color:rgb(34,34,34);margin-right:0cm;margin-bottom:12pt;margin-left:0cm;font-stretch:normal"><span lang="en-IL"><a href="mailto:idan@tokagroup.com" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:9pt;font-family:Helvetica,sans-serif;color:rgb(58,70,83)">idan@tokagroup.com</span></a></span><span lang="en-IL" style="font-size:9pt;font-family:Helvetica,sans-serif;color:rgb(58,70,83)"> | </span><span lang="en-IL"><a href="http://www.tokagroup.com/" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:9pt;font-family:Helvetica,sans-serif;color:rgb(58,70,83)">www.tokagroup.com</span></a><u></u><u></u></span></p><p style="color:rgb(34,34,34);margin:0cm;font-stretch:normal"><span lang="en-IL" style="font-size:12pt"> </span><span lang="en-IL"><img border="0" width="88" height="25" src="https://docs.google.com/uc?export=download&id=1G6n0vgt5VJEwLLXYnbjfMoLsu2T5Wi8X&revid=0B5YGrTZ_iHcNNjFuQURKMEtJQXQzVC84NzJ1RXNWMWM3U0gwPQ" style="width:0.9166in;height:0.2583in"></span></p></div></div>