| Package | asgard.net |
| Class | public final class NetStreamStatus |
| Implements | Serializable |
| Property | Defined by | ||
|---|---|---|---|
| code : String
The code of the NetStream information.
| NetStreamStatus | ||
| level : String
The level of the NetStream status information.
| NetStreamStatus | ||
| Method | Defined by | ||
|---|---|---|---|
|
NetStreamStatus(code:String, level:String, registerReference:Boolean = false)
Creates a new NetStreamStatus instance.
| NetStreamStatus | ||
|
contains(code:String):Boolean
[static]
Indicates if the specified code expression is register in the NetServerStatus enumeration list.
| NetStreamStatus | ||
|
equals(o:*):Boolean
Compares the specified object with this object for equality.
| NetStreamStatus | ||
|
get(code:String):NetStreamStatus
[static]
Returns the specified code expression register in the NetStreamStatus enumeration list.
| NetStreamStatus | ||
|
toSource(indent:int = 0):String
Returns the source representation of this object.
| NetStreamStatus | ||
|
toString():String
Returns the string representation of this object.
| NetStreamStatus | ||
|
valueOf():*
Returns the object representation of this object.
| NetStreamStatus | ||
| Constant | Defined by | ||
|---|---|---|---|
| BUFFER_EMPTY : NetStreamStatus
[static]
Data is not being received quickly enough to fill the buffer.
| NetStreamStatus | ||
| BUFFER_FLUSH : NetStreamStatus
[static]
Data has finished streaming, and the remaining buffer will be emptied.
| NetStreamStatus | ||
| BUFFER_FULL : NetStreamStatus
[static]
The buffer is full and the stream will begin playing.
| NetStreamStatus | ||
| ERROR : String = "error" [static]
The 'error' level code.
| NetStreamStatus | ||
| PAUSE : NetStreamStatus
[static]
The stream is paused.
| NetStreamStatus | ||
| PLAY_COMPLETE : NetStreamStatus
[static]
Playback has completed.
| NetStreamStatus | ||
| PLAY_FAILED : NetStreamStatus
[static]
An error has occurred in playback for a reason other than those listed elsewhere in this table,
such as the subscriber not having read access.
| NetStreamStatus | ||
| PLAY_PUBLISH : NetStreamStatus
[static]
The initial publish to a stream is sent to all subscribers.
| NetStreamStatus | ||
| PLAY_RESET : NetStreamStatus
[static]
Caused by a play list reset.
| NetStreamStatus | ||
| PLAY_START : NetStreamStatus
[static]
Playback has started.
| NetStreamStatus | ||
| PLAY_STOP : NetStreamStatus
[static]
Playback has stopped.
| NetStreamStatus | ||
| PLAY_STREAM_NOT_FOUND : NetStreamStatus
[static]
The FLV passed to the play() method can't be found.
| NetStreamStatus | ||
| PLAY_SWITCH : NetStreamStatus
[static]
The subscriber is switching from one stream to another in a playlist.
| NetStreamStatus | ||
| PLAY_UNPUBLISH : NetStreamStatus
[static]
An unpublish from a stream is sent to all subscribers.
| NetStreamStatus | ||
| PUBLISH_BAD_NAME : NetStreamStatus
[static]
Attempt to publish a stream which is already being published by someone else.
| NetStreamStatus | ||
| PUBLISH_IDLE : NetStreamStatus
[static]
The publisher of the stream has been idling for too long.
| NetStreamStatus | ||
| PUBLISH_START : NetStreamStatus
[static]
Publish was successful.
| NetStreamStatus | ||
| RECORD_FAILED : NetStreamStatus
[static]
An attempt to record a stream failed.
| NetStreamStatus | ||
| RECORD_NOACCESS : NetStreamStatus
[static]
Attempt to record a stream that is still playing or the client has no access right.
| NetStreamStatus | ||
| RECORD_START : NetStreamStatus
[static]
Recording has started.
| NetStreamStatus | ||
| RECORD_STOP : NetStreamStatus
[static]
Recording stopped.
| NetStreamStatus | ||
| SEEK_FAILED : NetStreamStatus
[static]
The seek fails, which happens if the stream is not seekable.
| NetStreamStatus | ||
| SEEK_INVALID_TIME : NetStreamStatus
[static]
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.
| NetStreamStatus | ||
| SEEK_NOTIFY : NetStreamStatus
[static]
The seek operation is complete.
| NetStreamStatus | ||
| STATUS : String = "status" [static]
The 'status' level code.
| NetStreamStatus | ||
| UNPAUSE : NetStreamStatus
[static]
The stream is unpaused.
| NetStreamStatus | ||
| UNPUBLISH_SUCCESS : NetStreamStatus
[static]
The unpublish operation was successfull.
| NetStreamStatus | ||
| code | property |
public var code:StringThe code of the NetStream information.
| level | property |
public var level:StringThe level of the NetStream status information.
| NetStreamStatus | () | constructor |
public function NetStreamStatus(code:String, level:String, registerReference:Boolean = false)Creates a new NetStreamStatus instance.
Parameterscode:String — the String code value.
|
|
level:String — the String level value.
|
|
registerReference:Boolean (default = false) — This optional flag register the instance in the internal static Map of the class, if this argument is true you can use it in the NetStreamStatus.get() and NetStreamStatus.contains() methods.
|
| contains | () | method |
public static function contains(code:String):BooleanIndicates if the specified code expression is register in the NetServerStatus enumeration list.
Parameterscode:String |
Boolean — true if the specified code expression is register in the NetServerStatus enumeration list.
|
| equals | () | method |
public function equals(o:*):BooleanCompares the specified object with this object for equality.
Parameterso:* |
Boolean — true if the the specified object is equal with this object.
|
| get | () | method |
public static function get(code:String):NetStreamStatusReturns the specified code expression register in the NetStreamStatus enumeration list.
Parameterscode:String |
NetStreamStatus —
the specified code expression register in the NetStreamStatus enumeration list.
|
| toSource | () | method |
public function toSource(indent:int = 0):StringReturns the source representation of this object.
Parametersindent:int (default = 0) |
String — the source representation of this object.
|
| toString | () | method |
public function toString():StringReturns the string representation of this object.
ReturnsString — the string representation of this object.
|
| valueOf | () | method |
public function valueOf():*Returns the object representation of this object.
Returns* — the object representation of this object.
|
| BUFFER_EMPTY | constant |
public static const BUFFER_EMPTY:NetStreamStatusData is not being received quickly enough to fill the buffer. Data flow will be interrupted until the buffer refills.
| BUFFER_FLUSH | constant |
public static const BUFFER_FLUSH:NetStreamStatusData has finished streaming, and the remaining buffer will be emptied.
| BUFFER_FULL | constant |
public static const BUFFER_FULL:NetStreamStatusThe buffer is full and the stream will begin playing.
| ERROR | constant |
public static const ERROR:String = "error"The 'error' level code.
| PAUSE | constant |
public static const PAUSE:NetStreamStatusThe stream is paused.
| PLAY_COMPLETE | constant |
public static const PLAY_COMPLETE:NetStreamStatusPlayback has completed.
| PLAY_FAILED | constant |
public static const PLAY_FAILED:NetStreamStatusAn error has occurred in playback for a reason other than those listed elsewhere in this table, such as the subscriber not having read access.
| PLAY_PUBLISH | constant |
public static const PLAY_PUBLISH:NetStreamStatusThe initial publish to a stream is sent to all subscribers.
| PLAY_RESET | constant |
public static const PLAY_RESET:NetStreamStatusCaused by a play list reset.
| PLAY_START | constant |
public static const PLAY_START:NetStreamStatusPlayback has started.
| PLAY_STOP | constant |
public static const PLAY_STOP:NetStreamStatusPlayback has stopped.
| PLAY_STREAM_NOT_FOUND | constant |
public static const PLAY_STREAM_NOT_FOUND:NetStreamStatusThe FLV passed to the play() method can't be found.
| PLAY_SWITCH | constant |
public static const PLAY_SWITCH:NetStreamStatusThe subscriber is switching from one stream to another in a playlist.
| PLAY_UNPUBLISH | constant |
public static const PLAY_UNPUBLISH:NetStreamStatusAn unpublish from a stream is sent to all subscribers.
| PUBLISH_BAD_NAME | constant |
public static const PUBLISH_BAD_NAME:NetStreamStatusAttempt to publish a stream which is already being published by someone else.
| PUBLISH_IDLE | constant |
public static const PUBLISH_IDLE:NetStreamStatusThe publisher of the stream has been idling for too long.
| PUBLISH_START | constant |
public static const PUBLISH_START:NetStreamStatusPublish was successful.
| RECORD_FAILED | constant |
public static const RECORD_FAILED:NetStreamStatusAn attempt to record a stream failed.
| RECORD_NOACCESS | constant |
public static const RECORD_NOACCESS:NetStreamStatusAttempt to record a stream that is still playing or the client has no access right.
| RECORD_START | constant |
public static const RECORD_START:NetStreamStatusRecording has started.
| RECORD_STOP | constant |
public static const RECORD_STOP:NetStreamStatusRecording stopped.
| SEEK_FAILED | constant |
public static const SEEK_FAILED:NetStreamStatusThe seek fails, which happens if the stream is not seekable.
| SEEK_INVALID_TIME | constant |
public static const SEEK_INVALID_TIME:NetStreamStatusFor 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.
| SEEK_NOTIFY | constant |
public static const SEEK_NOTIFY:NetStreamStatusThe seek operation is complete.
| STATUS | constant |
public static const STATUS:String = "status"The 'status' level code.
| UNPAUSE | constant |
public static const UNPAUSE:NetStreamStatusThe stream is unpaused.
| UNPUBLISH_SUCCESS | constant |
public static const UNPUBLISH_SUCCESS:NetStreamStatusThe unpublish operation was successfull.