[Live-devel] best way on server side for detect new client connection

Ross Finlayson finlayson at live555.com
Mon Jun 4 11:48:20 PDT 2012


> I work with live555 and stream H264 coded video via RTP. I need force IDR frame on encoder when each new client connected to my RTSP server.
> 
> Please let me know how I can to do it – what is best way (on server side) in live555 to detect client connection / disconnection to my RTSP server?
> 
The easiest way to do this is to subclass "RTSPServer" and - in your subclass - redefine the virtual functions "handleCmd_PLAY" and "handleCmd_TEARDOWN" to first do whatever it is you want to do, and then call the corresponding function in the parent  class. 


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/20120604/51d2e577/attachment.html>


More information about the live-devel mailing list