[Live-devel] OnDemand Server application Callbacks

Ross Finlayson finlayson at live555.com
Mon Nov 14 04:41:18 PST 2011


> I have an application with live555 server (OnDemand) integrated. 
> How can this application know when clients sends PLAY and TEARDOWN requests ?
> Is there any application level callbacks for the same ?

Yes, the way to do this is to subclass "RTSPServer", and - in your subclass - redefine the virtual functions "handleCmd_PLAY()" and "handleCmd_TEARDOWN()".  Your subclassed versions of these functions can do whatever they like, and then call the original, base-class version (defined for "RTSPServer").


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/20111114/d7fc8d8d/attachment.html>


More information about the live-devel mailing list