Stream.onStatus event notifications
We've encountered conceptual difficulties figuring out which stream
is currently being played / started / finished using the onStatus handler for the
Stream Object.
The documentation it is written that the only event which returns details about
the stream currently being played is "NetStream.Play.Start"
This is very peculiar and does not allow internal monitoring of
finished streams...
We are creating dynamic playlists on the FMS and there is
a need to know which stream has just finished playing, not only
a general notification that A stream stopped playing such as
NetStream.Play.Completed or NetStream.Play.Switch (returned from the onPlayStatus handler
of the Stream object)
The best solution would be, to be able to define a custom
handler function to be executed at the end of playing a certain
stream (live or recorded) which will allow perfect
action being taken when the stream reaches its designated end.
for example:
myStream.play("stream name", 10, -1,false,myFunction);
where myFunction would be a customer handler evoked when the stream
reaches its end on the server's playlist Queue.
Is there a way to accomplish the above using FMS 3.5.0 - 3.5.3?
