
Server-Side Communication ActionScript 57
You can create other Stream properties of any legal ActionScript type, including references to
other ActionScript objects, for a particular instance of the Stream object. The properties are
available until the stream is removed from the application.
For more information about streams, see the NetStream (object) entry in the Client-Side
Communication ActionScript Dictionary.
Property summary for the Stream object
Method summary for the Stream object
Event handler summary for the Stream object
Stream.bufferTime
Availability
Flash Communication Server MX.
Usage
Stream.bufferTime
Description
Property (read-only); indicates how long to buffer messages before a stream is played. This
property applies only when playing a stream from a remote server or when playing a recorded
stream locally.
A message is data that is sent back and forth between the Flash Communication Server and the
Flash Player. The data is divided into small packets (messages), and each message has a type
(audio, video, or data).
Property (read-only) Description
Stream.bufferTime Indicates how long to buffer messages before a stream is played.
Stream.name The unique name of a live stream.
Method Description
Stream.clear Deletes a stream previously recorded by the server.
Stream.get Returns a reference to a Stream object. This is a static method.
Stream.length Returns the length of a recorded stream in seconds. This is a static method.
Stream.play Controls the data source of the Stream object.
Stream.record Records all the data going into the stream.
Stream.send Sends a call with parameters to all subscribers on a stream.
Stream.setBufferTime Sets the length of the buffer time in seconds.
Event handler Description
Stream.onStatus Called when there is a change in status.
Comentarios a estos manuales