[FMS] FMS Streaming Media Server Onstatus Introduction description

Source: Internet
Author: User

The camera, microphone, LocalConnection, Netconnection,netstream, and Sharedobject objects in flashcom provide an event response, The return information for the Onstatus event is recorded in the information object. In order to be able to respond to these events, you must create a method to process the information object, and the most important thing is that you have to be clear about the different information object return values and return types.
The information object has the following properties.
The return content of the Code record information
Level information rank status with status warning warning error
The following is a summary of the Onstatus return values for the objects in flashcom.

Camera Information Object
Camera.muted (Status)
User refuses to use camera
Camera.unmuted (Status)
Users are allowed to use the camera

LocalConnection Information Object
None (status)
None (Error)

Microphone Information Object
Microphone.muted (Status)
The user refuses to use microphone.
Microphone.unmuted (Status)
Users are allowed to use microphone.

Netconnect Information Object
NetConnection.Call.Failed (Error)
Netconnection.call method or command failed on the server side of the call
NetConnection.Connect.AppShutdown (Error)
The server-side application has been shut down (due to excessive resource consumption, etc.) or the server has been shut down.
NetConnection.Connect.Closed (Status)
Connection interrupted
NetConnection.Connect.Failed (Error)
Connection failed
NETCONNECTION.CONNECT.INVALIDAPP (Error)
The specified application name was not found
NetConnection.Connect.Rejected (Error)
Connection is denied
NetConnection.Connect.Success (Status)
Connection Successful

NetStream Information Object
NetStream.Buffer.Empty (Status)
The data buffer is empty
NetStream.Buffer.Full (Status)
Buffer is slow
Netstream.failed (Error)
An error occurred in the transmission
NetStream.Pause.Notify (Status)
Play Pause
NetStream.Play.Failed (Error)
Playback error
NetStream.Play.PublishNotify (Status)
The release begins, and the information has been sent to all subscribers
NetStream.Play.Reset (Status)
Play List Reset
NetStream.Play.Start (Status)
Play start
NetStream.Play.Stop (Status)
Play stop
NetStream.Play.StreamNotFound (Error)
The live stream or file that is playing does not exist
NetStream.Play.UnpublishNotify (Status)
Release stopped, information sent to all Subscribers
NetStream.Publish.BadName (Error)
The published data stream has been published
NetStream.Publish.Idle (Status)
Publishers Idle too long
NetStream.Publish.Start (Status)
Release start
NetStream.Record.Failed (Error)
Error Recording File
NetStream.Record.NoAccess (Error)
Not enough file access rights
NetStream.Record.Start (Status)
File recording started
NetStream.Record.Stop (Status)
Recording paused
NetStream.Seek.Failed (Error)
Error in Data flow positioning
NetStream.Seek.Notify (Status)
Data Search Location Successful
NetStream.Unpause.Notify (Status)
Resume Playback
NetStream.Unpublish.Success (Status)
Stop Publishing

Shareobject Information Object
Sharedobject.badpersistence (Error)
The arguments passed by the Sharedobject.getremote method do not match
SharedObject.Flush.Failed Error
Write failed
SharedObject.Flush.Success (Status)
Write success
Sharedobject.urimismatch (Error)
Sharedobject.connect URL parameter is inconsistent with Sharedobject.getremote method
Note: For NetStream, Netconnect, and remote shared objects, there are more return values onstatus on-line, these return values are described in the server-side information object, and other objects do not need to be online or respond to the return value.

[FMS] FMS Streaming Media Server Onstatus Introduction description

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.