Hi,<br><br>I think I found the answer.<br><br>I should not updateTSRecordNum(), which should be called when playing or scale status changes.<br>I just add fRSRecordNum to fFramer&#39;s packet counter or Trick filter&#39;s index/packet counter.<br>
<br>Regards,<br><br>Woods<br><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Woods</b> <span dir="ltr">&lt;<a href="http://woods.biz">woods.biz</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span><br>
Date: Mon, Sep 14, 2009 at 2:54 PM<br>Subject: Bookmark TS file<br>To: LIVE555 Streaming Media - development &amp; use &lt;<a href="mailto:live-devel@ns.live555.com">live-devel@ns.live555.com</a>&gt;<br><br><br>Hi,<br><br>
I am trying to bookmark a playing TS file for later re-play. What I am retrieving is the fNPT value from ClientTrickPlayState.<br><br>My function is like:<br><br>(step 1) updateTSRecordNum();<br clear="all">(step 2) fIndexFile-&gt;lookupPCRFromTSPacketNum(fTSRecordNum, False, fNPT, fIxRecordNum);<br>

(step 3) return fNPT<br><br>But from the result, I saw the fNPT increases exponentially after above function is called repeatedly. I suspect it is due to the repeated call of updateTSRecordNum().<br><br>Could anyone tell me how to retrieve the correct NPT time value? Thank you!<br>

<br>-- <br><font color="#888888">Woods<br>
</font></div><br><br clear="all"><br>-- <br>Woods<br>