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
Содержание FLASH MEDIA SERVER 2-DEVELOPING MEDIA
Страница 1: ...Developing Media Applications ...
Страница 6: ...6 ...
Страница 10: ...10 About This Manual ...
Страница 36: ...36 Flash Media Server Architecture ...
Страница 80: ...80 Debugging and Monitoring Applications ...
Страница 106: ...106 Application Development Tips and Tricks ...
Страница 114: ...114 ...