Skip to main content
Participating Frequently
December 26, 2007
Question

NetStream total length of stream in seconds

  • December 26, 2007
  • 1 reply
  • 383 views
NetStream.bytesTotal retrieves the length of the stream in bytes.

Is there a way to get the total length of the stream in time? Or is there a way to convert the bytesTotal attribute to time?

Thanks!

dustoff.
This topic has been closed for replies.

1 reply

Participating Frequently
December 26, 2007
I figured it out.

Discovered the client.onMetaData(data:Object) object/method and the "data.duration" attribute.

dustoff.