| Package | vegas.net |
| Class | public class NetStreamExpert |
| Inheritance | NetStreamExpert NetStreamClient CoreEventDispatcher Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | buffer : Number [read-only]
Specifies the unit value of the buffer that is filled (value between 0 and 1). | NetStreamClient | |
![]() | bufferLength : Number [read-only]
Indicates the number of seconds to save the buffer in memory. | NetStreamClient | |
![]() | bufferPercent : Number [read-only]
Specifies the percentage of the buffer that is filled (value between 0 and 100). | NetStreamClient | |
![]() | bufferTime : Number
Indicates the buffer time of the stream. | NetStreamClient | |
![]() | bytes : Number [read-only]
The unit size value in bytes of the file being loaded into the player (value between 0 and 1). | NetStreamClient | |
![]() | bytesLoaded : Number [read-only]
The number of bytes of data that have been loaded into the application. | NetStreamClient | |
![]() | bytesPercent : Number [read-only]
The percentage size in bytes of the file being loaded into the player (value between 0 and 100). | NetStreamClient | |
![]() | bytesTotal : Number [read-only]
The total size in bytes of the file being loaded into the application. | NetStreamClient | |
![]() | channel : String [read-only]
Indicates the channel of this dispatcher if this instance is global. | CoreEventDispatcher | |
![]() | cuePoint : Signaler [read-only]
This signal emit cuepoint informations when an embedded cue point is reached while playing an FLV file. | NetStreamClient | |
![]() | duration : Number [read-only]
Indicates the duration of the media. | NetStreamClient | |
![]() | error : Signaler [read-only]
This signal emit when the Flash Player notify an ErrorEvent. | NetStreamClient | |
![]() | imageData : Signaler [read-only]
This signal emit when Flash Player receives image data as a byte array embedded in a media file that is playing. | NetStreamClient | |
![]() | meta : Signaler [read-only]
This signal emit metadatas informations when the application receives descriptive information embedded in the video being played. | NetStreamClient | |
![]() | metadata : FLVMetaData
The flv metadata object. | NetStreamClient | |
![]() | muteIt : Signaler
This signal emit when the sound is muted. | NetStreamClient | |
![]() | netStream : NetStream
The owner NetStream reference of this object. | NetStreamClient | |
![]() | pan : Number
Specifies the left-to-right panning of the sound, ranging from -1 (full pan left) to 1 (full pan right). | NetStreamClient | |
| paused : Boolean [read-only]
Indicates if the stream is paused. | NetStreamExpert | ||
![]() | playStatus : Signaler [read-only]
This signal emit when the application receives descriptive information embedded in the video being played. | NetStreamClient | |
![]() | progress : Number [read-only]
Specifies the percentage progress value of the stream. | NetStreamClient | |
| src : String
The optional source uri of the stream to play (can be defines in argument of the play() method of the expert). | NetStreamExpert | ||
![]() | status : Signaler [read-only]
This signal emit when the application receives descriptive information embedded in the video being played. | NetStreamClient | |
![]() | textData : Signaler [read-only]
This signal emit when the Flash Player receives text data embedded in a media file that is playing. | NetStreamClient | |
![]() | time : Number [read-only]
Indicates the time value in seconds of the stream. | NetStreamClient | |
| timer : Timer
The timer reference of this expert. | NetStreamExpert | ||
![]() | unmuteIt : Signaler
This signal emit when the sound is unmuted. | NetStreamClient | |
![]() | verbose : Boolean
The verbose mode. | NetStreamClient | |
![]() | video : Video
The Video reference of this expert. | NetStreamClient | |
![]() | volume : Number
Specifies the volume, ranging from 0 (silent) to 1 (full volume). | NetStreamClient | |
![]() | xmpData : Signaler [read-only]
This signal emit when receives information specific to Adobe Extensible Metadata Platform (XMP)
that is embedded in the Adobe F4V or FLV video file. | NetStreamClient | |
| Method | Defined By | ||
|---|---|---|---|
NetStreamExpert(netStream:NetStream = null, video:Video = null, timer:Timer = null)
Creates a new NetStreamExpert instance. | NetStreamExpert | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0.0, useWeakReference:Boolean = false):void
Allows the registration of event listeners on the event target. | CoreEventDispatcher | |
![]() | clear():void
Clear the video reference. | NetStreamClient | |
close():void
Close the internal NetStream of this expert. | NetStreamExpert | ||
![]() | dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow. | CoreEventDispatcher | |
dispose():void [override]
Dispose the expert and close all process and remove all dependencies of this expert. | NetStreamExpert | ||
![]() |
Returns the internal system.events.EventDispatcher reference. | CoreEventDispatcher | |
![]() | hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event. | CoreEventDispatcher | |
![]() | isGlobal():Boolean
Indicates if the dispatcher use a global event flow. | CoreEventDispatcher | |
![]() | isLocked():Boolean
Returns true if the object is locked. | CoreEventDispatcher | |
![]() | isMuted():Boolean
Returns true if the sound is muted. | NetStreamClient | |
![]() | lock():void
Locks the object. | CoreEventDispatcher | |
![]() | mute():void
Mute the sound of the netstream. | NetStreamClient | |
![]() | onCuePoint(info:Object):void
Invoked when an embedded cue point is reached while playing an FLV file. | NetStreamClient | |
![]() | onImageData(imageData:Object):void
Dispatched when Flash Player receives image data as a byte array embedded in a media file that is playing. | NetStreamClient | |
![]() | onMetaData(info:Object):void
Dispatched when the application receives descriptive information embedded in the video being played. | NetStreamClient | |
![]() | onPlayStatus(info:Object):void
Dispatched when the application receives descriptive information embedded in the video being played. | NetStreamClient | |
![]() | onTextData(textData:Object):void
The onTextData event sends text data through an AMF0 data channel. | NetStreamClient | |
![]() | onXMPData(info:Object):void
The onXMPData() callback function receives information specific to Adobe Extensible Metadata Platform (XMP)
that is embedded in the Adobe F4V or FLV video file. | NetStreamClient | |
pause():void
Pauses the internal NetStream of this expert. | NetStreamExpert | ||
play(stream:String = null):void
Play the stream video. | NetStreamExpert | ||
publish(name:String = null, type:String = null):void
Sends streaming audio, video, and text messages from a client to Flash Media Server, optionally recording the stream during transmission. | NetStreamExpert | ||
![]() | registerEventListener(type:String, listener:*, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Allows the registration of event listeners on the event target (Function or EventListener). | CoreEventDispatcher | |
![]() | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object. | CoreEventDispatcher | |
resume():void
Resumes the internal NetStream of this expert. | NetStreamExpert | ||
seek(position:Number):void
Seek the stream video. | NetStreamExpert | ||
![]() | setDuration(duration:Number = 0):void
Sets the duration of the stream video. | NetStreamClient | |
![]() | setEventDispatcher(dispatcher:EventDispatcher):void
Sets the internal EventDispatcher reference. | CoreEventDispatcher | |
![]() | setGlobal(flag:Boolean = false, channel:String = null):void
Sets if the instance use a global system.events.EventDispatcher to dispatch this events, if the flag value is false the instance use a local EventDispatcher. | CoreEventDispatcher | |
![]() | unlock():void
Unlocks the display. | CoreEventDispatcher | |
![]() | unmute():void
Unmute the sound of the netstream. | NetStreamClient | |
![]() | unregisterEventListener(type:String, listener:*, useCapture:Boolean = false):void
Removes a listener (Function or EventListener object) from the EventDispatcher object. | CoreEventDispatcher | |
![]() | willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | CoreEventDispatcher | |
| paused | property |
paused:Boolean [read-only] Indicates if the stream is paused.
public function get paused():Boolean| src | property |
public var src:StringThe optional source uri of the stream to play (can be defines in argument of the play() method of the expert).
| timer | property |
public var timer:TimerThe timer reference of this expert.
| NetStreamExpert | () | Constructor |
public function NetStreamExpert(netStream:NetStream = null, video:Video = null, timer:Timer = null)Creates a new NetStreamExpert instance.
ParametersnetStream:NetStream (default = null) — The NetStream reference of this advanced proxy client manager.
| |
video:Video (default = null) — The Video reference of this netstream client to register automatickly the stream with the video.
| |
timer:Timer (default = null) — The optional timer reference of this expert.
|
| close | () | method |
public function close():voidClose the internal NetStream of this expert.
| dispose | () | method |
override public function dispose():voidDispose the expert and close all process and remove all dependencies of this expert.
| pause | () | method |
public function pause():voidPauses the internal NetStream of this expert.
| play | () | method |
public function play(stream:String = null):voidPlay the stream video.
Parameters
stream:String (default = null) — The uri of the stream.
|
| publish | () | method |
public function publish(name:String = null, type:String = null):voidSends streaming audio, video, and text messages from a client to Flash Media Server, optionally recording the stream during transmission. This method is available only to the publisher of the specified stream.
Parameters
name:String (default = null) — A string that identifies the stream. Clients that subscribe to this stream must pass this same name when they call NetStream.play(). Don't follow the stream name with a "/". For example, don't use the stream name "bolero/".
| |
type:String (default = null) — A string that specifies how to publish the stream. Valid values are "record", "append", and "live". The default value is "live".
|
| resume | () | method |
public function resume():voidResumes the internal NetStream of this expert.
| seek | () | method |
public function seek(position:Number):voidSeek the stream video.
Parameters
position:Number |