Server-Side Information Objects > trace > Stream information objects

 

Stream information objects

The information objects of the Stream object are similar to those of the client-side NetStream object.

Code

Level

Meaning

NetStream.Clear.Success

Status

A recorded stream was deleted successfully.

NetStream.Clear.Failed

Error

A recorded stream failed to delete.

NetStream.Publish.Start

Status

An attempt to publish was successful.

NetStream.Publish.BadName

Error

An attempt was made to publish a stream that is already being published by someone else.

NetStream.Failed

Error

An attempt to use a Stream method failed.*

NetStream.Unpublish.Success

Status

An attempt to unpublish was successful.

NetStream.Record.Start

Status

Recording was started.

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 unpublish from a stream was successful. This message is sent to all subscribers.

* This information object also has a description property, which is a string that provides a specific reason for the failure.

** This information object also has 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.