Hi,

I think I found the answer.

I should not updateTSRecordNum(), which should be called when playing or
scale status changes.
I just add fRSRecordNum to fFramer's packet counter or Trick filter's
index/packet counter.

Regards,

Woods


---------- Forwarded message ----------
From: Woods <woods....@gmail.com>
Date: Mon, Sep 14, 2009 at 2:54 PM
Subject: Bookmark TS file
To: LIVE555 Streaming Media - development & use <live-de...@ns.live555.com>


Hi,

I am trying to bookmark a playing TS file for later re-play. What I am
retrieving is the fNPT value from ClientTrickPlayState.

My function is like:

(step 1) updateTSRecordNum();
(step 2) fIndexFile->lookupPCRFromTSPacketNum(fTSRecordNum, False, fNPT,
fIxRecordNum);
(step 3) return fNPT

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().

Could anyone tell me how to retrieve the correct NPT time value? Thank you!

-- 
Woods



-- 
Woods
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to