获取当前在flex videoPlayer中播放flv视频流的确切时间?
如何获取当前播放视频的毫秒或更佳纳秒时间戳?
How to get timestamp with milliseconds or better nanoseconds of currently playing video?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
NetStream.time
属性精确到毫秒。该值是秒数,但它是Number
并包含小数秒,文档称其精确到毫秒。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
The
NetStream.time
property is accurate to the millisecond. The value is number of seconds, but it'sNumber
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