<div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><span style="color:rgb(0,0,0)">I'm looking to log information about connections for analytics. I've written a proxy style RTSP server on top of the RTSPServer class, which is very loosely based on the proxy example with the library. Logging new connection information is easy, but what I would like to do create a single line log entry containing the streamName and bytes sent </span><div style="color:rgb(0,0,0);display:inline">
</div><span style="color:rgb(0,0,0)">at connection teardown time. It would be nice to have the connection's starting time and ending time in that line too. </span><br></div><div class="gmail_quote"><div dir="ltr">
<div class="gmail_quote">
<div class="gmail_extra"><div class="gmail_quote"><font color="#000000" face="times new roman, serif" size="4"><br>I <div style="display:inline">don't</div> see any easy to use hooks, <div style="display:inline">
while </div>OnDemandServerMediaSubsession::deleteStream<div style="display:inline"> is called when a client connection ends, I'd hate to make custom implementations of the entire tree just to implement the equivalent of a callback with logging info, not to mention getting the specific data I'm interested in there.</div>
</font></div><div class="gmail_quote"><font color="#000000" face="times new roman, serif" size="4"><br></font></div><div class="gmail_quote"><font color="#000000" face="times new roman, serif" size="4"><div class="">Any advice for how to best go about this? Has anyone else already done this?<br>
<br>We're likely to push<div class="gmail_default" style="font-family:'times new roman',serif;font-size:large;display:inline"> </div><div style="display:inline">any</div> changes in the library level back to the live555 project.</div>
</font></div><span class="HOEnZb"><div class="gmail_quote"><font face="times new roman, serif" size="4" color="#000000"><br>
</font></div><div class="gmail_quote"><font size="4"><div style="display:inline"><font face="times new roman, serif" color="#000000"><div class="gmail_default" style="font-family:'times new roman',serif;font-size:large;display:inline">
Pete</div></font></div><br></font><br></div></span></div></div>
</div>
</div><br><br>
</div>
<br>
<div><font size="2">The information in this message may be confidential. It is intended solely for</font></div><div><font size="2">the addressee(s). If you are not the intended recipient, any disclosure,</font></div><div><font size="2">copying or distribution of the message, or any action or omission taken by you</font></div><div><font size="2">in reliance on it, is prohibited and may be unlawful. Please immediately</font></div><div><font size="2">contact the sender if you have received this message in error.</font></div><div style="font-size:1.3em"><br></div>