The NetStreamInfo class specifies the various Quality of Service (QOS) statistics related to NetStream
and the underlying streaming buffer for audio video and data. NetStreamInfo object is returned in response
to the
NetStream.getInfocall which takes a snapshot of the current QOS state
and provides it through its properties as described below.
audioBufferByteLength:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Provides the Netstream audio buffer size informtion in bytes. Similar to Netstream.bytesLoaded which is used in progressive cases this specifies buffer
size in bytes for audio data for the streaming cases including live and recorded cases
Implementation public function get audioBufferByteLength():NumberaudioBufferLength:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Provides Netstream audio buffer size information in time (seconds). This property extends the NetStream.bufferLength property and provides the buffer length
in time specifically for audio data.
Implementation public function get audioBufferLength():NumberaudioByteCount:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Specifies the total audio bytes which have arrived into the queue regardless of how many have played or flushed.
This value could also be used to also calculate the incoming audio data rate on a different granularity of time than the one provided by
the audioBytesPerSecondabove, by creating a timer with that granularity and calculating the difference in values
in successive timer calls
Implementation public function get audioByteCount():NumberaudioBytesPerSecond:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Specifies the rate at which Netstream audio buffer is being filled in Bytes per second, calculated as a smooth
average for the audio data received in the last second.
Implementation public function get audioBytesPerSecond():NumberbyteCount:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Specifies the total bytes which have arrived into the queue regardless of how many have played or flushed.
This value could also be used to also calculate the incoming data rate on a different granularity of time than the one provided by
the currentBytesPerSecondabove, by creating a timer with that granularity and calculating the difference in values
in successive timer calls
Implementation public function get byteCount():NumbercurrentBytesPerSecond:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Specifies the rate at which Netstream buffer is being filled in Bytes per second, calculated as a smooth
average for the total data received in the last second.
Implementation public function get currentBytesPerSecond():NumberdataBufferByteLength:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Provides the Netstream data buffer size informtion in bytes. Similar to Netstream.bytesLoaded which is used in progressive cases this specifies buffer
size in bytes for data messages for the streaming cases including live and recorded cases
Implementation public function get dataBufferByteLength():NumberdataBufferLength:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Provides Netstream data buffer size information in time (seconds). This property extends the NetStream.bufferLength property and provides the buffer length
in time specifically for data messages besides audio and video.
Implementation public function get dataBufferLength():NumberdataByteCount:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Specifies the total data messages bytes which have arrived into the queue regardless of how many have played or flushed.
This value could also be used to also calculate the incoming data messages rate on a different granularity of time than the one provided by
the dataBytesPerSecondabove, by creating a timer with that granularity and calculating the difference in values
in successive timer calls
Implementation public function get dataByteCount():NumberdataBytesPerSecond:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Specifies the rate at which Netstream data buffer is being filled in Bytes per second, calculated as a smooth
average for the data messages received in the last second.
Implementation public function get dataBytesPerSecond():NumberdroppedFrames:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Returns the number of video frames dropped in the current NetStream playback session. In recorded streaming or progressive cases if the video is a
high quality or high resolution high bit rate video, the decoder may lag behind in decoding the required number of frames per second if it does not have adequete
system cpu resources. In Live streaming case the buffer drops out video frames to catch up if the latency gets high. This value gives that absolute number
in such cases specifying the number of frames which were dropped and not presented normally.
Implementation public function get droppedFrames():NumberplaybackBytesPerSecond:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Returns the stream playback rate in Bytes Per Second. The playback buffer could have various playlists buffered in it. With dynamic stream switching
this could happen more frequently. This property would provide the playback rate which would closely match the bit rate of the stream playing currently.
Implementation public function get playbackBytesPerSecond():NumberSRTT:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Specifies the Smooth Round Trip Time for the NetStream session. This value returns a valid value only for RTMFP streams and would return 0 for RTMP streams.
Implementation public function get SRTT():NumbervideoBufferByteLength:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Provides the Netstream video buffer size informtion in bytes. Similar to Netstream.bytesLoaded which is used in progressive cases this specifies buffer
size in bytes for video data for the streaming cases including live and recorded cases
Implementation public function get videoBufferByteLength():NumbervideoBufferLength:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Provides Netstream video buffer size information in time (seconds). This property extends the NetStream.bufferLength property and provides the buffer length
in time specifically for video data.
Implementation public function get videoBufferLength():NumbervideoByteCount:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Specifies the total video bytes which have arrived into the queue regardless of how many have played or flushed.
This value could also be used to also calculate the incoming video data rate on a different granularity of time than the one provided by
the videoBytesPerSecondabove, by creating a timer with that granularity and calculating the difference in values
in successive timer calls
Implementation public function get videoByteCount():NumbervideoBytesPerSecond:Number [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 10 |
Specifies the rate at which Netstream video buffer is being filled in Bytes per second, calculated as a smooth
average for the video data received in the last second.
Implementation public function get videoBytesPerSecond():Numberpublic function NetStreamInfo(curBPS:Number, byteCount:Number, audioBPS:Number, audioByteCount:Number, videoBPS:Number, videoByteCount:Number, dataBPS:Number, dataByteCount:Number, playbackBPS:Number, droppedFrames:Number, audioBufferByteLength:Number, videoBufferByteLength:Number, dataBufferByteLength:Number, audioBufferLength:Number, videoBufferLength:Number, dataBufferLength:Number, srtt:Number)
This is for internal use of the flash player only and should not be used. NetStreamInfo objects are only created by the player.
Parameters
© 2004-2008 Adobe Systems Incorporated. All rights reserved.
Tue May 20 2008, 04:02 AM -07:00