[Live-devel] Make all RTSP requests potentially session-aware

Ross Finlayson finlayson at live555.com
Fri Aug 10 13:55:58 PDT 2012


> I would like to know if that would be interesting to make all RTSP
> requests handling in RTSPServer session-aware; an example of flow would
> be, for a request XXX currently unaware of session (OPTIONS for
> instance)

No, because the "OPTIONS" command - for listing the RTSP commands that the server supports - applies to the server as a whole, rather than to a particular session.

If you want to redefine the handling of the "OPTIONS" command, then the way to do this is to subclass "RTSPClientConnection" (not "RTSPClientSession"), and reimplement the "handleCmd_OPTIONS()" virtual function.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120810/10f89608/attachment.html>


More information about the live-devel mailing list