<div>  Thank you for reply.</div><div><br></div><div>  I have a version of 2008.04.09, in this version, the rtsp server send the same H.264 file .the client can receive data. So i think the latest version maybe have some bug.</div><div><br></div><div><sign signid="98"><div style="color:#909090;font-family:Arial Narrow;font-size:12px"><br><br><br><br></div><div style="font-size:14px;font-family:Verdana;color:#000;"><div style="overflow:hidden;"><br></div></div></sign></div><div><includetail><div> </div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "live-devel-request"<live-devel-request@ns.live555.com>;</div><div><b>Date: </b> Mon, Jun 1, 2015 03:00 AM</div><div><b>To: </b> "live-devel"<live-devel@ns.live555.com>; <wbr></div><div></div><div><b>Subject: </b> live-devel Digest, Vol 138, Issue 20</div></div><div> </div>Send live-devel mailing list submissions to<br>  live-devel@lists.live555.com<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>     http://lists.live555.com/mailman/listinfo/live-devel<br>or, via email, send a message with subject or body 'help' to<br>    live-devel-request@lists.live555.com<br><br>You can reach the person managing the list at<br> live-devel-owner@lists.live555.com<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of live-devel digest..."<br><br><br>Today's Topics:<br><br>   1. live555-2015-5-28 version rtsp server can't work       correct when<br>      send HD h.264 stream (maoxiafei@cdxzrs.com)<br>   2. Re: live555-2015-5-28 version rtsp server can't work  correct<br>      when send HD h.264 stream (Ross Finlayson)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sun, 31 May 2015 23:21:12 +0800<br>From: "maoxiafei@cdxzrs.com" <maoxiafei@cdxzrs.com><br>To: live-devel <live-devel@ns.live555.com><br>Subject: [Live-devel] live555-2015-5-28 version rtsp server can't work<br>    correct when send HD h.264 stream<br>Message-ID: <201505312321117241833@cdxzrs.com><br>Content-Type: text/plain; charset="gb2312"<br><br>Hi all<br>    I use live.2015.05.28.tar.gz.  use live555MediaServer.cpp as rtsp server.   I have a HD h.264 stream , the nal unit is SPS,PPS,IDR,P,P,P....      I use openRTSP.exe and test RTSPClient.exe to receive the stream.  Both client receive SPS, PPS, P, P..they all didn't receive IDR frame.  their size is 32Bytes , 8 Bytes, 403709Bytes, 21937Bytes 9619Bytes...... .  The output log of the two clients shows they don't received I frame.<br><br><br><br>maoxiafei@cdxzrs.com<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150531/a9a478d9/attachment-0001.html><br><br>------------------------------<br><br>Message: 2<br>Date: Sun, 31 May 2015 11:50:57 -0700<br>From: Ross Finlayson <finlayson@live555.com><br>To: LIVE555 Streaming Media - development & use<br>      <live-devel@ns.live555.com><br>Subject: Re: [Live-devel] live555-2015-5-28 version rtsp server can't<br>      work    correct when send HD h.264 stream<br>Message-ID: <732C270E-6FC8-462D-ADCB-40E533C4C103@live555.com><br>Content-Type: text/plain; charset="utf-8"<br><br>>     I use live.2015.05.28.tar.gz.  use live555MediaServer.cpp as rtsp server.   I have a HD h.264 stream , the nal unit is SPS,PPS,IDR,P,P,P....      I use openRTSP.exe and test RTSPClient.exe to receive the stream.  Both client receive SPS, PPS, P, P..they all didn't receive IDR frame.  their size is 32Bytes , 8 Bytes, 403709Bytes, 21937Bytes 9619Bytes...... .  The output log of the two clients shows they don't received I frame.<br><br>The problem is that your I-frame (IDR) NAL unit is excessive large (403709 bytes).  This has two problems:<br>1/ The receiving RTSP client does not have - by default - a large enough buffer to receive a NAL unit of this size.  You can increase this buffer size - e.g., in ?openRTSP? using its "-b <buffer-size>? option.<br>2/ More importantly, the problem with NAL units this large is that they get fragmented into an extremely large number of RTP packets (in this case, at least 270 RTP packets).  *All* of these RTP packets have to be received at the far end; if even *one* of these RTP packets gets lost, then the entire NAL unit will be unrenderable - i.e., useless.  It is very likely that this is what has happened in your case.<br><br>A much better solution is to reconfigure your encoder so that it breaks up very large ?I-frame? NAL units like this into multiple ?slice? NAL units.  This will make your stream much more tolerant of packet loss.<br><br>This is an issue that I?ve commented on several times before:<br>   http://lists.live555.com/pipermail/live-devel/2011-December/014190.html <http://lists.live555.com/pipermail/live-devel/2011-December/014190.html><br>       http://lists.live555.com/pipermail/live-devel/2012-August/015615.html <http://lists.live555.com/pipermail/live-devel/2012-August/015615.html><br>   http://lists.live555.com/pipermail/live-devel/2013-May/016994.html <http://lists.live555.com/pipermail/live-devel/2013-May/016994.html><br> http://lists.live555.com/pipermail/live-devel/2014-June/018426.html <http://lists.live555.com/pipermail/live-devel/2014-June/018426.html><br>       http://lists.live555.com/pipermail/live-devel/2014-June/018432.html <http://lists.live555.com/pipermail/live-devel/2014-June/018432.html><br>       http://lists.live555.com/pipermail/live-devel/2014-June/018433.html <http://lists.live555.com/pipermail/live-devel/2014-June/018433.html><br>       http://lists.live555.com/pipermail/live-devel/2014-June/018434.html <http://lists.live555.com/pipermail/live-devel/2014-June/018434.html><br>       http://lists.live555.com/pipermail/live-devel/2015-March/019135.html <http://lists.live555.com/pipermail/live-devel/2015-March/019135.html><br>     http://lists.live555.com/pipermail/live-devel/2015-April/019228.html <http://lists.live555.com/pipermail/live-devel/2015-April/019228.html><br><br>Ross Finlayson<br>Live Networks, Inc.<br>http://www.live555.com/<br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150531/409341be/attachment-0001.html><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>live-devel mailing list<br>live-devel@lists.live555.com<br>http://lists.live555.com/mailman/listinfo/live-devel<br><br><br>------------------------------<br><br>End of live-devel Digest, Vol 138, Issue 20<br>*******************************************</div><!--<![endif]--></includetail></div>