Closed GoogleCodeExporter closed 9 years ago
TimeEvent.COMPLETE is most likely a client side event generated by some other
event; since we are the server we need to know what its looking for to spawn
that event. When a file is complete as far as the server is concerned you'll
get a NetStream play stop event among other events.
Original comment by mondain
on 29 May 2014 at 3:24
I don't see a way to hook those events, the spark videoplayer control uses the
OSMF framework behind the scenes and it doesn't accept a NetStream as a source
directly, only string url or DynamicStreamingVideoSource. I think the place in
OSMF where event onPlayStatus NetStream.Play.Complete triggers
TimeEvent.COMPLETE happens in the code here:
http://sourceforge.net/adobe/osmf/svn/HEAD/tree/osmf/trunk/framework/OSMF/org/os
mf/net/NetStreamTimeTrait.as
The way it hooks this event is unusual, instead of NetStream.addEventListener
it uses NetClient.addHandler. Maybe AMS does something differently to get this
handler to invoke?
Original comment by jesse.w....@gmail.com
on 31 May 2014 at 8:16
I can't say what AMS does or doesnt do, sorry. If someone doesn't spell it out
for the team, we probably won't be implementing this feature.
Original comment by mondain
on 31 May 2014 at 7:55
Original issue reported on code.google.com by
jesse.w....@gmail.com
on 14 May 2014 at 9:51