[Live-devel] Fwd: Bookmark TS file

Woods woods.biz at gmail.com
Mon Sep 14 19:12:41 PDT 2009


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.biz at gmail.com>
Date: Mon, Sep 14, 2009 at 2:54 PM
Subject: Bookmark TS file
To: LIVE555 Streaming Media - development & use <live-devel at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090915/fe18b978/attachment.html>


More information about the live-devel mailing list