<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dear Ross,
<div class=""><br class="">
</div>
<div class="">From your previous suggestions, if we want to deliver live streaming out via live555,</div>
<div class="">we should use H264VideoStreamDiscreteFramer and set fDurationInMicroseconds to be 0.</div>
<div class="">Now, our RTSP server stream H264+AAC works well with one client.</div>
<div class="">If there is the second client to connect our server, first client’s video will freeze.</div>
<div class="">If the second client close the player, first client’s video will resume working again.</div>
<div class=""><br class="">
</div>
<div class="">I try to figure out why this issue will happen.</div>
<div class="">I got the reason because doGetNextFrame will be blocked until the live data is ready.</div>
<div class="">H264 frame may block 33ms, AAC frame may block 128ms.</div>
<div class=""><br class="">
</div>
<div class="">Then, I try to resolve this issue.</div>
<div class="">I set H264’s fDurationInMicroseconds to be 33ms, AAC’s fDurationInMicroseconds to be 128ms.</div>
<div class="">The first client’s video will freeze forever.</div>
<div class=""><br class="">
</div>
<div class="">If the server stream video only with fDurationInMicroseconds 33ms, it works well with multi client.</div>
<div class="">If the server stream audio only with fDurationInMicroseconds 128ms, it also works well with multi client. </div>
<div class=""><br class="">
</div>
<div class="">Any suggestions? Please help. That would be very great.</div>
<div class="">Thanks a lot.</div>
<div class=""><br class="">
</div>
<div class="">regards, eric, 10/21</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Oct 6, 2015, at 20:32, Ross Finlayson <<a href="mailto:finlayson@live555.com" class="">finlayson@live555.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<blockquote type="cite" class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Now, we use H264VideoStreamDiscreteFramer to do live streaming, it is better than before.</div>
<div class="">And we sure the timestamp is correct and sync with “wall clock time”.</div>
<div class="">But, we still have some questions, need your help.</div>
<div class="">1. Now, H264+AAC is working well.</div>
<div class="">    After playing about 3 hours, audio is good but video will not very smooth to play.</div>
<div class="">    Do you have any suggestions?</div>
</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
Are you absolutely sure that your “fPresentationTime” values - for both audio and video - remain accurate even after 3 hours?  (In particular, watch out for accumulated truncation errors.)</div>
<div class=""><br class="">
</div>
<div class="">If you’re sure that your “fPresentationTime”s are accurate, then sorry, I don’t have any other suggestion; perhaps the problem is with your client application?</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">2. We still need to stream JPEG+AAC live streaming.</div>
<div class="">    After playing 2 minutes, video will block which is same with H264+AAC issue.</div>
<div class="">    There is no DiscreteFramer class for JPEG streaming, do you have any suggestions?</div>
</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
Yes - my suggestion is not to stream JPEG; it’s a bad idea.  See:<br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span><a href="http://live555.com/liveMedia/faq.html#jpeg-streaming" class="">http://live555.com/liveMedia/faq.html#jpeg-streaming</a></div>
<div class=""><br class="">
</div>
<br class="">
<div apple-content-edited="true" class=""><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; line-height: normal; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; 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; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;">Ross
 Finlayson<br class="">
Live Networks, Inc.<br class="">
<a href="http://www.live555.com/" class="">http://www.live555.com/</a></span></span>
</div>
<br class="">
</div>
_______________________________________________<br class="">
live-devel mailing list<br class="">
<a href="mailto:live-devel@lists.live555.com" class="">live-devel@lists.live555.com</a><br class="">
http://lists.live555.com/mailman/listinfo/live-devel<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
<h3></h3>
<p>This electronic mail transmission is intended only for the named recipient. It contains information which may be privileged,confidential and exempt from disclosure under applicable law. Dissemination, distribution, or copying of this communication by anyone
 other than the recipient or the recipient's agent is strictly prohibited. If this electronic mail transmission is received in error, Please notify us immediately and delete the message and all attachments of it from your computer system. Thank you for your
 cooperation. </p>
<p></p>
</body>
</html>