User Guide
34 Flash Media Server Architecture
The NetStream.Failed and NetStream.Play.Failed information objects also have a description
property, which is a string that provides a specific reason for the failure.
The NetStream.Play.Start and NetStream.Play.Failed information objects also have a details
property, which is a string that provides the name of the streams being played. This is useful
for multiple plays. The details property shows the name of the stream when switching from
one element in the playlist to the next element.
Understanding shared object flow
Shared objects simplify the developer’s task in sharing data between multiple users. A Flash
client application subscribes to a remote shared object by issuing a
SharedObject.getRemote() command, which returns a reference to the remote shared
object. The client then issues a
SharedObject.connect() command to connect the remote
shared object to the server. Calling
SharedObject.connect() associates the SharedObject
with the NetConnection object (which is the connection used for sending and receiving data
to and from the server), so the shared object can send and receive updates to and from the
server.
NetStream.Record.NoAccess
Error An attempt was made to record a read-only
stream.
NetStream.Record.Stop
Status Recording was stopped.
NetStream.Record.Failed
Error An attempt to record a stream failed.
NetStream.Play.Start
Status Play was started.
NetStream.Play.StreamNotFound
Error An attempt was made to play a stream that
does not exist.
NetStream.Play.Stop
Status Play was stopped.
NetStream.Play.Failed
Error An attempt to play back a stream failed.
NetStream.Play.Reset
Status A playlist was reset.
NetStream.Play.PublishNotify
Status The initial publish to a stream was successful.
This message is sent to all subscribers.
NetStream.Play.UnpublishNotify
Status An attempt to unpublish from a stream was
successful. This message is sent to all
subscribers.
Code Level Meaning