> 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/
_______________________________________________ live-devel mailing list [email protected] http://lists.live555.com/mailman/listinfo/live-devel
