User Guide

NetStream class 79
Property summary for the NetStream class
Event handler summary for the NetStream class
Constructor for the NetStream class
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
new NetStream(connection)
Parameters
connection A NetConnection object.
Property (read-only) Description
NetStream.bufferLength The number of seconds of data currently in the buffer.
NetStream.bufferTime The number of seconds assigned to the buffer by
NetStream.setBufferTime().
NetStream.currentFps The number of frames per second being sent or received on
the publishing or subscribing stream.
NetStream.liveDelay The number of seconds of data in a subscribing stream’s
buffer in live mode.
NetStream.time The number of seconds a stream has been playing or
publishing.
Method Description
NetStream.onCuePoint Invoked when an embedded cue point is reached while
playing an FLV file.
NetStream.onMetaData Invoked when the Flash Player receives descriptive
information embedded in the FLV file being played.
NetStream.onPlayStatus Invoked when a NetStream object has completely played a
stream.
NetStream.onStatus Invoked every time a status change or error is posted for the
NetStream object.