Ah-ha thanks!
I spent hours staring at the code and packet capture and clearly couldn’t see 
the wood for the trees!

We already have questions over that model of camera and are close to dropping 
support.

Is there a way we, as the RTSPClient caller, can determine when RTP frames have 
been lost (non sequential sequence numbers) rather than detecting it at a 
higher level (to aid in debugging rubbish cameras)?
It looks like this is the “timeout” in 
ReorderingPacketBuffer::getNextCompletedPacket as I can’t see any checks in 
MultiFramedRTPSource::doGetNextFrame1.

As our original problem was multiple frames concatenated together in one 
“frame”, do you agree that a dropped RTP frame *couldn’t* cause that issue too 
(given the packet structure I described earlier)?
I’m still trying to catch this one to verify the network stream.

Thanks again for pointing out what I clearly didn’t see :o)

--
Deanna Earley | Lead developer | icatchercctv

w: www.icode.co.uk/icatcher<http://www.icode.co.uk/icatcher> | t: 01329 835335 
| f: 01329 835338
Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number : 03428325

From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross 
Finlayson
Sent: 06 May 2015 20:47
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Multiple NALUs concatenated together in one 
afterGettingFrame

Comparing these to the packet capture, […] the I frame at packet numbers 19289 
to 19463 where the marker bit is set.

Note the RTP sequence numbers in these packets: 9159 to 9340.

Now do you see the problem?  (Hint: 9340-9159 > 19463-19289)

Congratulations!  You’ve just demonstrated something that I’ve been telling 
people on this mailing list AD NAUSEUM:
          
http://lists.live555.com/pipermail/live-devel/2011-December/014190.html
          http://lists.live555.com/pipermail/live-devel/2012-August/015615.html
          http://lists.live555.com/pipermail/live-devel/2013-May/016994.html
          http://lists.live555.com/pipermail/live-devel/2014-June/018426.html
          http://lists.live555.com/pipermail/live-devel/2014-June/018432.html
          http://lists.live555.com/pipermail/live-devel/2014-June/018433.html
          http://lists.live555.com/pipermail/live-devel/2014-June/018434.html
          http://lists.live555.com/pipermail/live-devel/2015-March/019135.html
          http://lists.live555.com/pipermail/live-devel/2015-April/019228.html

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

Reply via email to