[Live-devel] getNormalPlayTime after a pause and play

Sébastien Escudier sebastien-devel at celeos.eu
Thu Feb 21 11:20:54 PST 2013


Hi Ross,

The return value of getNormalPlayTime() is false in case of a "resume"
play because in this case the value of playStartTime() is incorrect.
playStartTime() returns 0 if the stream resume from the previous
position, and then fNPT_PTS_Offset is set to the last presentation time
value.
So when the stream resume, getNormalPlayTime starts from 0 instead of
the current NPT.

Regards,
Sebastien


More information about the live-devel mailing list