Thanks Ross I specifically looking for the host address /IP form the requests.
בתאריך יום ב׳, 22 בפבר׳ 2021 ב-0:18 מאת Ross Finlayson < finlay...@live555.com>: > > > > On Feb 21, 2021, at 1:58 PM, Idan Freiberg <i...@tokagroup.com> wrote: > > > > Hello, > > > > 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) ? > > > > What’s the best way to achieve this? > > 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). > > 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? > > > Ross Finlayson > Live Networks, Inc. > http://www.live555.com/ > > > _______________________________________________ > live-devel mailing list > live-devel@lists.live555.com > http://lists.live555.com/mailman/listinfo/live-devel > -- *Idan Freiberg *Software Engineer Tel. + 972 522 925 213 | Toka i...@tokagroup.com | www.tokagroup.com
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel