Package org.red5.server.net.rtmp.status
Interface StatusCodes
- All Known Implementing Classes:
BaseRTMPHandler
,RTMPHandler
,Status
,StatusObjectService
public interface StatusCodes
Collection of commonly used constants with status codes. Descriptions provided as in FMS 2.0.1 documentation available at adobe.com with some minor additions and comments.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
This information object is passed to the onAppStop event handler when the application instance is about to be destroyed by the server.static final String
The ActionScript engine is low on runtime memory.static final String
The ActionScript engine has encountered a runtime error.static final String
The ActionScript engine has encountered a runtime warning.static final String
This information object is passed to the onAppStop handler when the application is being shut downstatic final String
The URI specified in the NetConnection.connect method did not specify 'rtmp' as the protocol.static final String
The NetConnection.call method was not able to invoke the server-side method or command.static final String
The application has been shut down (for example, if the application is out of memory resources and must shut down to prevent the server from crashing) or the server has shut down.static final String
The connection was closed successfullystatic final String
The connection attempt failed.static final String
The application name specified during connect is invalid.static final String
The client does not have permission to connect to the application, the application expected different parameters from those that were passed, or the application name specified during the connection attempt was not found on the server.static final String
The connection attempt succeeded.static final String
The buffer is empty (sent from server to client)static final String
A recorded stream failed to delete.static final String
A recorded stream was deleted successfully.static final String
static final String
An attempt to use a Stream method (at client-side) failedstatic final String
Invalid arguments were passed to a NetStream method.static final String
The subscriber has used the seek command to move to a particular location in the recorded stream.static final String
Playlist playback is complete.static final String
An attempt to play back a stream failedstatic final String
This event is sent if the player detects an MP4 with an invalid file structure.static final String
Data is playing behind the normal speedstatic final String
This event is sent if the player does not detect any supported tracks.static final String
The initial publish to a stream was successful.static final String
A playlist was resetstatic final String
Play was startedstatic final String
Play was stoppedstatic final String
An attempt was made to play a stream that does not existstatic final String
Playlist playback switched from one stream to another.static final String
Transition to another stream has been initiated.static final String
Transition to another stream is complete.static final String
An unpublish from a stream was successful.static final String
An attempt was made to publish a stream that is already being published by someone else.static final String
An attempt to publish was successful.static final String
An attempt to record a stream failedstatic final String
An attempt was made to record a read-only streamstatic final String
Recording was startedstatic final String
Recording was stoppedstatic final String
The stream doesn't support seeking.static final String
The subscriber has used the seek command to move to a particular location in the recorded stream.static final String
Transition to another stream has been forced.static final String
Transition to another stream is processing normally.static final String
Publishing has stoppedstatic final String
An attempt to unpublish was successfulstatic final String
The creation of a shared object was denied.static final String
Read access to a shared object was denied.static final String
Write access to a shared object was denied.static final String
The persistence parameter passed to SharedObject.getRemote() is different from the one used when the shared object was created.
-
Field Details
-
NC_CALL_FAILED
The NetConnection.call method was not able to invoke the server-side method or command.- See Also:
-
NC_CALL_BADVERSION
The URI specified in the NetConnection.connect method did not specify 'rtmp' as the protocol. 'rtmp' must be specified when connecting to FMS and Red5. Either not supported version of AMF was used (3 when only 0 is supported)- See Also:
-
NC_CONNECT_APPSHUTDOWN
The application has been shut down (for example, if the application is out of memory resources and must shut down to prevent the server from crashing) or the server has shut down.- See Also:
-
NC_CONNECT_CLOSED
The connection was closed successfully- See Also:
-
NC_CONNECT_FAILED
The connection attempt failed.- See Also:
-
NC_CONNECT_REJECTED
The client does not have permission to connect to the application, the application expected different parameters from those that were passed, or the application name specified during the connection attempt was not found on the server.- See Also:
-
NC_CONNECT_SUCCESS
The connection attempt succeeded.- See Also:
-
NC_CONNECT_INVALID_APPLICATION
The application name specified during connect is invalid.- See Also:
-
NS_INVALID_ARGUMENT
Invalid arguments were passed to a NetStream method.- See Also:
-
NS_CLEAR_SUCCESS
A recorded stream was deleted successfully.- See Also:
-
NS_CLEAR_FAILED
A recorded stream failed to delete.- See Also:
-
NS_PUBLISH_START
An attempt to publish was successful.- See Also:
-
NS_PUBLISH_BADNAME
An attempt was made to publish a stream that is already being published by someone else.- See Also:
-
NS_FAILED
An attempt to use a Stream method (at client-side) failed- See Also:
-
NS_UNPUBLISHED_SUCCESS
An attempt to unpublish was successful- See Also:
-
NS_RECORD_START
Recording was started- See Also:
-
NS_RECORD_NOACCESS
An attempt was made to record a read-only stream- See Also:
-
NS_RECORD_STOP
Recording was stopped- See Also:
-
NS_RECORD_FAILED
An attempt to record a stream failed- See Also:
-
NS_BUFFER_EMPTY
The buffer is empty (sent from server to client)- See Also:
-
NS_PLAY_INSUFFICIENT_BW
Data is playing behind the normal speed- See Also:
-
NS_PLAY_START
Play was started- See Also:
-
NS_PLAY_STREAMNOTFOUND
An attempt was made to play a stream that does not exist- See Also:
-
NS_PLAY_STOP
Play was stopped- See Also:
-
NS_PLAY_FAILED
An attempt to play back a stream failed- See Also:
-
NS_PLAY_RESET
A playlist was reset- See Also:
-
NS_PLAY_PUBLISHNOTIFY
The initial publish to a stream was successful. This message is sent to all subscribers- See Also:
-
NS_PLAY_UNPUBLISHNOTIFY
An unpublish from a stream was successful. This message is sent to all subscribers- See Also:
-
NS_PLAY_SWITCH
Playlist playback switched from one stream to another.- See Also:
-
NS_PLAY_TRANSITION
Transition to another stream has been initiated.- See Also:
-
NS_TRANSITION_SUCCESS
Transition to another stream is processing normally. This is set as the "reason" property of the NetStatusEvent.- See Also:
-
NS_TRANSITION_FORCED
Transition to another stream has been forced. If streams that are being switched do not have aligned content/timelines, or if the keyframes are not aligned between the two streams, it is possible that the server will have to force a hard transition. This can also happen with broadcast (live) dynamic streaming if the server cannot find a synchronization point within the two streams. This is set as the "reason" property of the NetStatusEvent.- See Also:
-
NS_PLAY_TRANSITION_COMPLETE
Transition to another stream is complete.- See Also:
-
NS_PLAY_COMPLETE
Playlist playback is complete.- See Also:
-
NS_SEEK_NOTIFY
The subscriber has used the seek command to move to a particular location in the recorded stream.- See Also:
-
NS_SEEK_FAILED
The stream doesn't support seeking.- See Also:
-
NS_PAUSE_NOTIFY
The subscriber has used the seek command to move to a particular location in the recorded stream.- See Also:
-
NS_UNPAUSE_NOTIFY
Publishing has stopped- See Also:
-
NS_DATA_START
- See Also:
-
APP_SCRIPT_ERROR
The ActionScript engine has encountered a runtime error. In addition to the standard infoObject properties, the following properties are set: filename: name of the offending ASC file. lineno: line number where the error occurred. linebuf: source code of the offending line.- See Also:
-
APP_SCRIPT_WARNING
The ActionScript engine has encountered a runtime warning. In addition to the standard infoObject properties, the following properties are set: filename: name of the offending ASC file. lineno: line number where the error occurred. linebuf: source code of the offending line- See Also:
-
APP_RESOURCE_LOWMEMORY
The ActionScript engine is low on runtime memory. This provides an opportunity for the application instance to free some resources or take suitable action. If the application instance runs out of memory, it is unloaded and all users are disconnected. In this state, the server will not invoke the Application.onDisconnect event handler or the Application.onAppStop event handler- See Also:
-
APP_SHUTDOWN
This information object is passed to the onAppStop handler when the application is being shut down- See Also:
-
APP_GC
This information object is passed to the onAppStop event handler when the application instance is about to be destroyed by the server.- See Also:
-
SO_NO_READ_ACCESS
Read access to a shared object was denied.- See Also:
-
SO_NO_WRITE_ACCESS
Write access to a shared object was denied.- See Also:
-
SO_CREATION_FAILED
The creation of a shared object was denied.- See Also:
-
SO_PERSISTENCE_MISMATCH
The persistence parameter passed to SharedObject.getRemote() is different from the one used when the shared object was created.- See Also:
-
NS_PLAY_FILE_STRUCTURE_INVALID
This event is sent if the player detects an MP4 with an invalid file structure. Flash Player cannot play files that have invalid file structures.- See Also:
-
NS_PLAY_NO_SUPPORTED_TRACK_FOUND
This event is sent if the player does not detect any supported tracks. If there aren't any supported video, audio or data tracks found, Flash Player does not play the file.- See Also:
-