开发者

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

开发者 https://www.devze.com 2023-01-28 19:29 出处:网络
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

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

精彩评论

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