> On Nov 24, 2020, at 12:56 PM, Jim Ham <jim...@porcine.com> wrote: > > I'm using live555MediaServer. I need to know which files are being served, so > I added a very simple logging function. > > diff -r live/liveMedia/RTSPServer.cpp live.new/liveMedia/RTSPServer.cpp > 1319a1320,1329 > > // simple logging added by jeh 11/23/2020 > > FILE* logfid = fopen("live555.log", "a" ) ; > > if (logfid != NULL) { > > time_t tm = time(NULL) ; > > char * tmstr = ctime(&tm ) ; > > fwrite( streamName, 1, strlen(streamName), logfid ) ; > > fwrite (", ",1,2,logfid) ; > > fwrite( tmstr, 1, strlen(tmstr), logfid ) ; > > fclose( logfid ) ; > > }
Jim, Could you please resend this as a ‘contextual’ diff (using “diff -c”), so I can see exactly where in the code you added this? Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel