<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Dear Ross,<br>
<br>
Thanks for your response, i analyzed the problem better.<br>
<br>
First of all I update today live555 and now we use ProxyRTSPClient
(LIVE555 Streaming Media v2014.05.08) that it's the last version.<br>
In my Encoder we only can set Encode, Resolution, Frame-rate(FPS),
I-Frame interval and bit-rate, and now it's set to:<br>
Encode: h264<br>
Resolution: 1,3M (1280*960)<br>
Frame-rate(FPS): 15 (max value)<br>
I-Frame interval: 15 (min value)<br>
bit-rate: 2048 Kb/s or 1024 Kb/s<br>
<br>
To send smaller NAL units i reduce I-Frame interval to 15 but i
don't want reduce Resolution! How can reduce NAL unit without
change resolution and FPS<br>
<br>
I also try to increase "OutPacketBuffer::maxSize" in
"proxyServer/live555ProxyServer.cpp" to 2000000 and more but
the problem it's the same.<br>
<br>
Finally I find this behaviour:<br>
<br>
I start my software that use live555ProxyServer and run code
"live555ProxyServer -V -p 9002 -R
<a class="moz-txt-link-abbreviated" href="mailto:rtsp://admin:369000@192.168.100.20:554/cam/realmonitor?channel=1&subtype=0">rtsp://admin:369000@192.168.100.20:554/cam/realmonitor?channel=1&subtype=0</a>"<br>
<br>
now we have the same situation:<br>
<pre> --> [RTSP client1]
[back-end RTSP/RTP stream] --> [LIVE555 Proxy Server] --> [RTSP client2]
...
--> [RTSP clientN]</pre>
If I use only one RTSP client all it's fine: the video HD
streaming result fine and not corrupt but, as soon as, i start
another RTSP client (es. vlc) the video HD streaming result
corrupt as in attached picture, WHY?<br>
I'am in local network (LAN) so we can't have network problem! <br>
<br>
Thanks so much for your support.<br>
<br>
Best Regards,<br>
<pre class="moz-signature" cols="72">Ing. Saverio De Carpentieri
ABC Impianti S.r.l.</pre>
Il 12/05/2014 16:42, Ross Finlayson ha scritto:<br>
</div>
<blockquote
cite="mid:F076146D-414C-4EE4-A436-32710BDE46D1@live555.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div>
<blockquote type="cite">How can I resolve this problem?<br>
</blockquote>
<div><br>
</div>
The best solution is to not send such large NAL units.
Reconfigure your encoder to break up 'key frames' into multiple
(therefore much smaller) 'slice' NAL units.</div>
<div><br>
</div>
<div>
<div>It's important to understand that each outgoing NAL unit -
if it is larger than the RTP/UDP packet size (about 1500 bytes
on most networks) - will be broken up into multiple outgoing
RTP packets, and the receiver - both the proxy server and the
final receiving client(s) - must receive *all* of these
packets in order to be able to reconstruct the frame. In
other words, if even one of these packets is lost, then the
receiver will lose the *entire* NAL unit. That's why the NAL
units - generated by your encoder - should be as small as is
reasonable.</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div>Alternatively (though not as good, for the reason noted
above), you can increase the buffer size
("OutPacketBuffer::maxSize") that the "LIVE555 Proxy Server"
uses. I.e., change line 59 of
"proxyServer/live555ProxyServer.cpp".</div>
<div><br>
</div>
<div>
<div>
<blockquote type="cite">I try to increase
"OutPacketBuffer::maxSize" to 100000 or 200000 but
the problem it's the same.<br>
<br>
</blockquote>
</div>
<div><br>
</div>
<div>I'm not sure why; if you make this buffer size large
enough, it should work (provided, of course, you don't lose
any network packets, as noted above).</div>
<div><br>
</div>
<div>You should also make sure that you're using an up-to-date
version of the "LIVE555 Streaming Media" code; see</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span><a
moz-do-not-send="true"
href="http://www.live555.com/liveMedia/faq.html#latest-version">http://www.live555.com/liveMedia/faq.html#latest-version</a></div>
</div>
<br>
<br>
<div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; "><span class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; ">Ross Finlayson<br>
Live Networks, Inc.<br>
<a moz-do-not-send="true" href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
live-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a>
<a class="moz-txt-link-freetext" href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>