MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Reference page 145

Server-side actionscript language reference
Table of Contents

Advertisement

You can use the properties and methods of the Stream class to shuffle streams in a playlist, pull
streams from other servers, and play and record streams.
You can also use the Stream class to play MP3 files over a stream, as well as ID3 tags associated
with MP3 files.
You can create other Stream properties of any legal ActionScript type, including references to
other ActionScript objects, for a particular instance of the Stream class. The properties are
available until the stream is removed from the application.
For more information about streams, see the "NetStream class" entry in the Client-Side
ActionScript Language Reference for Flash Media Server 2.
Property summary for the Stream class
Property (read-only)
Stream.bufferTime
Stream.name
Stream.syncWrite
Method summary for the Stream class
Method
Stream.clear()
Stream.flush()
Stream.get()
Stream.length()
Stream.play()
Stream.record()
Stream.send()
Stream.setBufferTime()
Stream.setVirtualPath()
Stream.size()
Description
Indicates how long to buffer messages before a stream is played.
The unique name of a live stream.
A Boolean value that controls when a stream writes the contents
of the buffer to a FLV file when the stream is recording.
Description
Deletes a stream previously recorded by the server.
Flushes a stream.
Static; returns a reference to a Stream object.
Static; returns the length of a recorded stream in seconds.
Controls the data source of the Stream object.
Records all the data going into the stream.
Sends a call with parameters to all subscribers on a stream.
Sets the length of the buffer time in seconds.
Sets the virtual directory path for video stream playback.
Static; returns the size of the stream in bytes.
Stream class
145

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents