简体   繁体   English

Flash FLVPlayback状态

[英]Flash FLVPlayback states

I'm writing my own class to manage a skin for an FLVPlayback component. 我正在编写自己的类来管理FLVPlayback组件的外观。 It works 90% of the time, but sometimes the state get really messed up. 它在90%的时间内都有效,但是有时状态会变得一团糟。 Specifically, the video is playing, meaning I can see it play and the VideoEvent.PLAYHEAD_UPDATE event is firing, but when I poll the FLVPlayback component about its playing property, it returns false. 具体来说,视频正在播放,这意味着我可以看到它正在播放,并且VideoEvent.PLAYHEAD_UPDATE事件正在触发,但是当我轮询FLVPlayback组件的播放属性时,它将返回false。 Instead the buffering state is set to true. 而是将缓冲状态设置为true。

I assume this may be because 'buffering' is kind of a subset of 'playing', but I cannot confirm this in the documentation. 我认为这可能是因为“缓冲”是“播放”的一种子集,但是我无法在文档中对此进行确认。 I guess another way to ask this question is, "Does the FLVPlayback component ever buffer while it is in a stopped state?" 我想问这个问题的另一种方式是:“ FLVPlayback组件处于停止状态时会缓冲吗?”

Buffering can occur in the playing or paused state. 缓冲可能发生在播放或暂停状态。 I don't believe it occurs in the stopped state. 我不认为它会在停止状态下发生。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM