Netstatusevent reference of as3

Source: Internet
Author: User

Netstatusevent Event Description

An object has an attribute that describes the object's status or error.

The information object may havecodeAttribute (it contains a string that represents a specific event), or haslevelAttribute (it contains
"status"
Or"error"String ).

This information object may also have other attributes. Because some implementations and servers may send different objects,codeAndlevelAttribute may not work.

The following table describescodeAndlevelPossible string values of the attribute.

Code attributes Level Attribute Meaning
"NetStream.Buffer.Empty" "status" The data receiving speed is insufficient to fill the buffer zone. The data stream is interrupted before the buffer is refilled.NetStream.Buffer.FullMessage, and the stream starts playing again.
"NetStream.Buffer.Full" "status" The buffer is full and the stream starts playing.
"NetStream.Buffer.Flush" "status" The data has been streamed, and the remaining buffer is cleared.
"NetStream.Publish.Start" "status" Released successfully.
"NetStream.Publish.BadName" "error" Try to publish a stream that has been published by another person.
"NetStream.Publish.Idle" "status" The stream publisher has been idle for too long.
"NetStream.Unpublish.Success" "status" You have successfully canceled the release.
"NetStream.Play.Start" "status" Playing has started.
"NetStream.Play.Stop" "status" The playback has ended.
"NetStream.Play.Failed" "error" An error occurs during playback for a reason other than the one listed in this table (for example, the subscriber has no read permission.
"NetStream.Play.StreamNotFound" "error" Unable to find passedplay()Method FLV.
"NetStream.Play.Reset" "status" This error is caused by resetting the playlist.
"NetStream.Play.PublishNotify" "status" The initial release to the stream is sent to all subscribers.
"NetStream.Play.UnpublishNotify" "status" The Publish of the canceled stream is sent to all subscribers.
"NetStream.Pause.Notify" "status" The stream has been paused.
"NetStream.Unpause.Notify" "status" The stream has been restored.
"NetStream.Record.Start" "status" Recording has started.
"NetStream.Record.NoAccess" "error" Attempts to record a stream that is still playing or a stream that the client has no access permission.
"NetStream.Record.Stop" "status" The recording has stopped.
"NetStream.Record.Failed" "error" An error occurred while trying to record the stream.
"NetStream.Seek.Failed" "error" Search failed. If the stream is not searchable, search fails.
"NetStream.Seek.InvalidTime" "error" For Videos downloaded in progressive download mode, you have tried to skip the end of the video data downloaded so far or the end of the video after the entire file has been downloaded for searching or playing.message.detailsThe attribute contains a time code that specifies the last valid position that the user can search.
"NetStream.Seek.Notify" "status" The search is complete.
"NetConnection.Call.BadVersion" "error" Data packets are encoded in unrecognized format.
"NetConnection.Call.Failed" "error" NetConnection.callMethods cannot call methods or commands on the server.
"NetConnection.Call.Prohibited" "error" Action Message format (AMF) is blocked for security reasons. Either amf url is not in the same domain as SwF, or the policy file of the domain where the AMF server does not trust the SWF file.
"NetConnection.Connect.Closed" "status" The connection is closed successfully.
"NetConnection.Connect.Failed" "error" Connection attempt failed.
"NetConnection.Connect.Success" "status" Connection attempt successful.
"NetConnection.Connect.Rejected" "error" The connection attempt has no permission to access the application.
"NetConnection.Connect.AppShutdown" "error" Closing the specified application.
"NetConnection.Connect.InvalidApp" "error" The Application name specified during connection is invalid.
"SharedObject.Flush.Success" "status" The "to be determined" status has been resolved andSharedObject.flush()The call is successful.
"SharedObject.Flush.Failed" "error" The "to be determined" status has been resolved,SharedObject.flush()Failed.
"SharedObject.BadPersistence" "error" A permanent flag is used to request a shared object, but the request cannot be approved because the object has been created using other tags.
"SharedObject.UriMismatch" "error" Try to connect to a netconnection object with a URI (URL) different from the shared object.

If you continuously see errors related to the buffer, try to useNetStream.bufferTimeAttribute change buffer.

 

 

Reprinted: http://blog.csdn.net/jamesjun/article/details/5418949

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.