A Boolean value that flushes the playing stream. If
reset
playlist, and each call to
does not start until the previous play finishes. You can use this technique to create a dynamic
playlist. If
is
reset
true
. This is an optional parameter.
true
remoteConnection
server. The requested stream plays from the remote server if this parameter is provided. This
parameter is optional.
Returns
A Boolean value:
true
otherwise. The
false
Stream.play
error occurs. To get information about the
handler to catch the play status or error.
If the
parameter is
streamName
returned if the stop succeeds;
Description
Method; controls the data source of a stream with an optional start time, duration, and reset flag
to flush any previously playing stream. The
you reference a NetConnection object to play a stream from another server. The
method allows you to do the following:
•
Chain streams between servers.
•
Create a hub to switch between live streams and recorded streams.
•
Combine different steams into a recorded stream.
You can combine multiple streams to create a playlist for clients. The server-side
method behaves a bit differently than the
on the server is similar to a
coming into a stream. When you call
publisher. Because the server has a higher priority than the client, the client is forced to unpublish
from the stream if the server calls a
In general, if any recorded streams are included in a server playlist, you cannot play the server
stream as a live stream.
Note: A stream that plays from a remote server by means of the NetConnection object is a live stream.
If you require a value to begin a stream, you may need to change the Application.xml file's
"Enhanced seeking" flag at the server. "Enhanced seeking" is a Boolean flag in the
Application.xml file. By default, this flag is set to
the closest video keyframe possible and starts from that keyframe. For example, if you want to
play at time 15, and there are keyframes only at time 11 and time 17, seeking will start from time
17 instead of time 15. This is an approximate seeking method that works well with compressed
streams.
If the flag is set to
true
if the flag is set to
true
11—for each keyframe from 11 through 15. Even though a keyframe does not exist at the seek
time, the server generates a keyframe, which involves some processing time on the server.
is appended to the end of the playlist so that the next play
Stream.play
, any playing stream stops, and the playlist is reset. By default, the value is
A reference to a NetConnection object that is used to connect to a remote
if the
call is accepted by the server and added to the playlist;
Stream.play
method can fail if the server fails to find the stream or if an
Stream.play
, the stream stops playing. A Boolean value of
false
otherwise.
false
Stream.play
NetStream.play
call on the client. It controls the source of the data that is
publish
Stream.play
method on the same stream.
play
, some compression is invoked on the server. Using the previous example,
, the server creates a keyframe—based on the preexisting keyframe at time
is
reset
false
call, you can define a
method also has a parameter that lets
method on the client side. A
on the server, the server becomes the
. When a play occurs, the server seeks to
false
Server-Side Communication ActionScript
, the server maintains a
Stream.onStatus
is
true
Stream.play
Stream.play
call
play
61
Need help?
Do you have a question about the FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY and is the answer not in the manual?