<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dear <span class="" style="white-space: pre-wrap; background-color: rgb(255, 255, 255);">Ross,</span>
<div class=""><span class="" style="white-space: pre-wrap; background-color: rgb(255, 255, 255);"><br class="">
</span></div>
<div class=""><span class="" style="white-space: pre-wrap; background-color: rgb(255, 255, 255);">I am a new guy to learn live555 and porting it into our platform.</span></div>
<div class=""><span class="" style="white-space: pre-wrap; background-color: rgb(255, 255, 255);">Now, we are coding a RTSP server based on
</span><span class="" style="white-space: pre-wrap;">testOnDemandRTSPServer sample code.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">We create 4 new classes to read H264 and AAC frames from our ring buffer not file.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">Each time call doGetNextFrame(), the class will deliver a ¡§discrete¡¨ frame to fTo.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">Now, what we face is very familiar with</span></div>
<div class=""><span class="" style="white-space: pre-wrap;"><a href="http://lists.live555.com/pipermail/live-devel/2014-September/018686.html" class="">http://lists.live555.com/pipermail/live-devel/2014-September/018686.html</a></span></div>
<div class=""><span class="" style="white-space: pre-wrap;"><a href="http://live-devel.live.narkive.com/0Idqc0Pj/aac-h264-rtp-multicast-timestamps" class="">http://live-devel.live.narkive.com/0Idqc0Pj/aac-h264-rtp-multicast-timestamps</a></span></div>
<div class=""><span class="" style="white-space: pre-wrap;">And, we sure</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">1. AV's fPresentationTime is correct. We have 2 program to get A/V frames from V4L2 device.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">And, when we get one frame, we will mark timestamp(gettimeofday) for each one </span></div>
<div class=""><span class="" style="white-space: pre-wrap;">and put it into ring buffer.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">2. Video¡¦s fDurationInMicroseconds is 0.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">3. Only video stream is working well.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">4. Only audio stream is also working well.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">5. Stream A/V at same time, in the begin, AV is sync.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">After 1~2 minutes, video start to drift.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">VLC show ¡¨more than 5 seconds of late video, drop¡¨ and</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">video stop, audio is still going well.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">6. Now, we use </span>
<span class="" style="white-space: pre-wrap; background-color: rgb(255, 255, 255);">H264VideoStreamFramer not
</span><span class="" style="white-space: pre-wrap; background-color: rgb(255, 255, 255);">H264VideoStreamDiscreteFramer,</span></div>
<div class=""><span class="" style="white-space: pre-wrap; background-color: rgb(255, 255, 255);"> because we need a parser to create SDP for H264.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;"><br class="">
</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">Any suggestions? Thanks for your kindly help.</span></div>
<div class=""><span class="" style="white-space: pre-wrap;"><br class="">
</span></div>
<div class=""><span class="" style="white-space: pre-wrap;">regards, eric, 10/02</span></div>
<div class=""><span class="" style="white-space: pre-wrap;"><br class="">
</span></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>