There is no such thing as bytesLoaded or bytesTotal when streaming.
Instead you’re going to have to check ns.time to figure out how long
you’ve been playing the stream and where you are. So use x=ns.time/
totalduration to display where the movie has reached playing. You can
find the totalduration of the movie using ns.onMetaData()
Thijs
Op 15-mrt-2007, om 2:53 heeft Peter Boot het volgende geschreven:
I couldn't find any reference to this in Jira . Is this a bug ?
When streaming an flv from RED5 using a flash swf the bytesLoaded and
bytesTotal variable of the NetStream object are always zero. This is a
common technique used to display download to cache progress so I would
of thought quite important functionality. The same code works fine for
dowloading the file just from apache.
thanks
Peter
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org