开发者

Getting exect time of currently playing flv video stream in flex videoPlayer?

How to get timestamp with milliseconds or better nanoseconds of cur开发者_开发知识库rently playing video?


The NetStream.time property is accurate to the millisecond. The value is number of seconds, but it's Number and includes fractional seconds which the docs say are accurate to the millisecond.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html?filter_flex=4.1&filter_flashplayer=10.1&filter_air=2#time

This number is accurate to the thousandths decimal place; multiply by 1000 to get the number of milliseconds the stream has been playing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜