return new InfoObject("NetStream.Play.StreamNotFound","error","The FLV passed to the play() method can't be found.");
}
public static function get NETSTREAM_PLAY_RESET():InfoObject {
return new InfoObject("NetStream.Play.Reset","status","Caused by a play list reset.");
}
public static function get NETSTREAM_PLAY_PUBLISHNOTIFY():InfoObject {
return new InfoObject("NetStream.Play.PublishNotify","status","The initial publish to a stream is sent to all subscribers.");
}
public static function get NETSTREAM_PLAY_UNPUBLISHNOTIFY():InfoObject {
return new InfoObject("NetStream.Play.UnpublishNotify","status","An unpublish from a stream is sent to all subscribers.");
}
public static function get NETSTREAM_PLAY_INSUFFICIENTBW():InfoObject {
return new InfoObject("NetStream.Play.InsufficientBW","warning","Flash Media Server only. The client does not have sufficient bandwidth to play the data at normal speed.");
}
public static function get NETSTREAM_PLAY_FILESTRUCTUREINVALID():InfoObject {
return new InfoObject("NetStream.Play.FileStructureInvalid","error","The application detects an invalid file structure and will not try to play this type of file. For AIR and for Flash Player 9.0.115.0 and later.");
}
public static function get NETSTREAM_PLAY_NOSUPPORTEDTRACKFOUND():InfoObject {
return new InfoObject("NetStream.Play.NoSupportedTrackFound","error","The application does not detect any supported tracks (video, audio or data) and will not try to play the file. For AIR and for Flash Player 9.0.115.0 and later.");
}
public static function get NETSTREAM_PLAY_TRANSITION():InfoObject {
return new InfoObject("NetStream.Play.Transition","status","Flash Media Server only. The stream transitions to another as a result of bitrate stream switching. This code indicates a success status event for the NetStream.play2() call to initiate a stream switch. If the switch does not succeed, the server sends a NetStream.Play.Failed event instead. For Flash Player 10 and later. Flash Media Server 3.5 and later only. The server received the command to transition to another stream as a result of bitrate stream switching. This code indicates a success status event for the NetStream.play2() call to initiate a stream switch. If the switch does not succeed, the server sends a NetStream.Play.Failed event instead. When the stream switch occurs, an onPlayStatus event with a code of \"NetStream.Play.TransitionComplete\" is dispatched. For Flash Player 10 and later.");
}
public static function get NETSTREAM_PAUSE_NOTIFY():InfoObject {
return new InfoObject("NetStream.Pause.Notify","status","The stream is paused.");
}
public static function get NETSTREAM_UNPAUSE_NOTIFY():InfoObject {
return new InfoObject("NetStream.Unpause.Notify","status","The stream is resumed.");
}
public static function get NETSTREAM_RECORD_START():InfoObject {
return new InfoObject("NetStream.Record.Start","status","Recording has started.");
}
public static function get NETSTREAM_RECORD_NOACCESS():InfoObject {
return new InfoObject("NetStream.Record.NoAccess","error","Attempt to record a stream that is still playing or the client has no access right.");
}
public static function get NETSTREAM_RECORD_STOP():InfoObject {
return new InfoObject("NetStream.Record.Stop","status","Recording stopped.");
}
public static function get NETSTREAM_RECORD_FAILED():InfoObject {
return new InfoObject("NetStream.Record.Failed","error","An attempt to record a stream failed.");
}
public static function get NETSTREAM_SEEK_FAILED():InfoObject {
return new InfoObject("NetStream.Seek.Failed","error","The seek fails, which happens if the stream is not seekable.");
}
public static function get NETSTREAM_SEEK_INVALIDTIME():InfoObject {
return new InfoObject("NetStream.Seek.InvalidTime","error","For video downloaded with progressive download, the user has tried to seek or play past the end of the video data that has downloaded thus far, or past the end of the video once the entire file has downloaded. The message.details property contains a time code that indicates the last valid position to which the user can seek.");
}