[Live-devel] about presentationTime and NPT

Ross Finlayson finlayson at live555.com
Wed Aug 30 08:51:49 PDT 2006


>  The playMediaSession() function requires a "start" parameter of 
> "float type"(am I right?) and the parameter should be in the range 
> of the media file such as "0-7.845000",which is the range of the 
> media file mpg1video.mpg.
>   So, my question is: how to transform the presentationTime to NPT 
> of the media? Or what is the relationship between 
> thepresentationTime and the NPT?

The first presentation time you receive will correspond to NPT 
0.  After that, you can do the math...


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list