
151
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
Method summary
Event handler summary
Stream.bufferTime
myStream.bufferTime
Read-only; indicates how long to buffer messages before a stream plays, in seconds. This property applies only when
playing a stream from a remote server or when playing a recorded stream locally. Call
Stream.setBufferTime() to
set the
bufferTime property.
A message is data that is sent back and forth between Adobe Media Server and Flash Player. The data is divided into
small packets (messages), and each message has a type (audio, video, or data).
Availability
Flash Communication Server 1
Stream.clear()
myStream.clear()
Deletes a recorded FLV or F4V file from the server.
Stream.publishQueryStri
ng
Read-only; the query string specified in the stream path when the stream was published.
Stream.receiveAudio A boolean value that controls whether the server receives audio (true) or not (false).
Stream.receiveVideo A boolean value that controls whether the server receives video (true) or not (false).
Stream.time Read-only; the number of seconds the stream has been playing. This value is the timestamp of the latest
frame that flowed out of the stream.
Method Description
Stream.clear() Deletes a recorded file from the server.
Stream.destroy() Unlinks and cleans up a stream resource.
Stream.flush() Flushes a stream.
Stream.get() Static; returns a reference to a Stream object.
Stream.getOnMetaData() Returns an object containing the metadata for the named stream or video file.
Stream.length() Static; returns the length of a recorded stream in seconds.
Stream.play() Controls the data source of a stream with an optional start time, duration, and reset flag to flush any
previously playing stream.
Stream.record() Records all the data passing through a Stream object and creates a file of the recorded stream.
Event handler Description
Stream.onStatus() Invoked every time the status of a Stream object changes.
Property Description
Commentaires sur ces manuels