<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }p { margin-top: 0px; margin-bottom: 0px; }body { font-size: 10.5pt; font-family: 'Segoe UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Continuing question 1, I see that <span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">deliverFrame() is called by two callers, </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">doGetNextFrame(), which is called by sink object, and </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">deliverFrame0(), which is called by event loop when </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">signalNewFrameData() emits an event. In my case, I left </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">signalNewFrameData() never called, hence </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">deliverFrame0() never called. This means deliverFrame() is only called by </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">doGetNextFrame() from the sink side object. Please correct me if I read the code wrong. Thanks.</span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="margin: 10px;"><div style="line-height: normal;"><div style="margin: 7.5pt; position: static !important;"><div style="font-family: 'Segoe UI', Tahoma;"><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: 宋体;"><font size="2">Xin</font></p></div><div style="font-size: 14px; font-family: 'Segoe UI', Tahoma;"><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 宋体;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif;">Mobile: +86 </span><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif;">186-1245-1524<o:p></o:p></span></p></div><div style="font-size: 14px;"><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;"><span lang="EN-US" style="font-family: Verdana, sans-serif; font-size: 10pt;">Email: </span><span lang="EN-US" style="font-family: Verdana, sans-serif; font-size: 10pt;"><a href="mailto:xliu@vscenevideo.com" style="color: purple;">xliu@vscenevideo.com</a><o:p></o:p></span></p></div><div style="font-size: 14px;"><p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 12pt;"><span lang="EN-US" style="font-family: Verdana, sans-serif; font-size: 10pt;">QQ: </span><span lang="EN-US" style="font-family: Verdana, sans-serif; font-size: 10pt;">156678745</span></p></div></div></div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:finlayson@live555.com">Ross Finlayson</a></div><div><b>Date:</b> 2017-01-17 16:31</div><div><b>To:</b> <a href="mailto:live-devel@ns.live555.com">LIVE555 Streaming Media - development & use</a></div><div><b>Subject:</b> Re: [Live-devel] how to make latency as low as possible</div></div></div><div><div>> My question is this. </div>
<div>> 1. How the sink object decide its timing of fetching data from the source? </div>
<div> </div>
<div>It doesn’t.  Instead, your video source object (if it’s programmed correctly) decides when to deliver a new frame of data (by arranging for “deliverFrame()” to get called - i.e., in handling an event.</div>
<div> </div>
<div>> 2. What is the purpose of fPresentationTime?</div>
<div> </div>
<div>To tell the receiver when (relatively) each frame should be rendered to the viewer.</div>
<div> </div>
<div>> 3. Should I use my camera's capture timestamp for fPresentationTime?</div>
<div> </div>
<div>Yes, this would be best (if this timestamp is accurate).</div>
<div> </div>
<div> </div>
<div>Ross Finlayson</div>
<div>Live Networks, Inc.</div>
<div>http://www.live555.com/</div>
<div> </div>
<div> </div>
<div>_______________________________________________</div>
<div>live-devel mailing list</div>
<div>live-devel@lists.live555.com</div>
<div>http://lists.live555.com/mailman/listinfo/live-devel</div>
</div></blockquote>
</body></html>