Re: [Live-devel] Number of viewers of a multicast video stream

2009-05-07 Thread Ross Finlayson
1) the count is incremented only when the stream is viewed from a receiver on a different host than the streamer's one. Yes, but big deal... 2) the count is not decremented when the stream is not viewed anymore from a receiver... Over time (once the record gets reclaimed) the count should g

Re: [Live-devel] Number of viewers of a multicast video stream

2009-05-07 Thread Alex Alex
thanks. I have just tried your solution, calling videoSink->transmissionStatsDB().numReceivers() but: 1) the count is incremented only when the stream is viewed from a receiver on a different host than the streamer's one. 2) the count is not decremented when the stream is not viewed anymore fro

[Live-devel] SET_PARAMETER & 401 due to nonce expired

2009-05-07 Thread Wouter Dhondt
> You could add the same "checkForAuthenticationFailure" code to the "SET_PARAMETER" case. Unfortunately I'm using the static lib so I don't build livemedia myself. ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mai

Re: [Live-devel] Number of viewers of a multicast video stream

2009-05-07 Thread Ross Finlayson
is there a way to count how many clients are currently viewing a multicast video stream ? Yes, we do this automatically by noting incoming RTCP "RR" packets from receivers. To get this count, call "RTPSink::RTPTransmissionStatsDB::numReceivers()". -- Ross Finlayson Live Networks, Inc. http:/

Re: [Live-devel] SET_PARAMETER & 401 due to nonce expired

2009-05-07 Thread Ross Finlayson
I use the livemedia client to connect to an Axis cam. All works well except that after a while all SET_PARAMETER requests return with 401 Unauthorized. The stale flag is set and a new nonce value is given. At this point the client should re-send with the new nonce, but this doesn't happen. I ca

[Live-devel] Number of viewers of a multicast video stream

2009-05-07 Thread Alex Alex
Hi, is there a way to count how many clients are currently viewing a multicast video stream ? If so, which classes/functions should I consider to add on a test program like testXYZVideoStreamer.cpp ? Thanks Alex ___ live-devel mailing list li

Re: [Live-devel] RTSP stops after 5 minutes

2009-05-07 Thread Cristiano Belloni
Shiva and Ron, could you please monitor the client / camera interaction with sniffer tools like Wireshark or Tcpdump? The behaviour seems compatible with my very same problem (connection shut down after a while, only in tcp mode), and in my case it is due to openRTSP not sending RR packets (th

[Live-devel] SET_PARAMETER & 401 due to nonce expired

2009-05-07 Thread Wouter Dhondt
Hello. I use the livemedia client to connect to an Axis cam. All works well except that after a while all SET_PARAMETER requests return with 401 Unauthorized. The stale flag is set and a new nonce value is given. At this point the client should re-send with the new nonce, but this doesn't hap