How to check if NetStream is working

I am working on a flash player using Open Video Player. I need to know if OVPNetStream (which is a subclass of NetStream) is playing, but I cannot find a property or status event for this.

And I don’t want you to face the problem that the “play” buttons pause the “stop” button to update the boolean var (because others that the buttons I suspect may have a billion reasons for the status to change)

+3
source share
1 answer

If OVPNetSteram no longer has an option, you should probably set the playback state from the events of the status to "NetStream.Play. *".

+3
source

Source: https://habr.com/ru/post/1719071/


All Articles