Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
The NetStreamInfo class specifies the various Quality of Service (QOS) statistics related to a NetStream object
and the underlying streaming buffer for audio, video, and data. A NetStreamInfo object is returned in response
to the
NetStream.info
call, which takes a snapshot of the current QOS state
and provides the QOS statistics through the NetStreamInfo properties.
audioBufferByteLength:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Provides the NetStream audio buffer size in bytes.
It specifies the buffer size for audio data in streaming media, both live and recorded.
This property is like Netstream.bytesLoaded
,
which is used in progressive downloads.
Implementation public function get audioBufferByteLength():Number
audioBufferLength:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Provides NetStream audio buffer size in seconds. This property extends the NetStream.bufferLength
property
and provides the buffer length in time specifically for audio data.
Implementation public function get audioBufferLength():Number
audioByteCount:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the total number of audio bytes that have arrived in the queue, regardless of how many have been played or flushed.
You can use this value to calculate the incoming audio data rate, using the metric of your choice, by creating a timer and calculating the difference in values
in successive timer calls. Alternatively, use audioBytesPerSecond
.
Implementation public function get audioByteCount():Number
See also
audioBytesPerSecond:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the rate at which the NetStream audio buffer is filled in bytes per second. The value is calculated as a smooth
average for the audio data received in the last second.
Implementation public function get audioBytesPerSecond():Number
audioLossRate:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0 Flash Player 10 |
Specifies the audio loss for the NetStream session. This value returns a valid value only for RTMFP streams and would return 0 for RTMP streams.
Loss rate is defined as the ratio of lost messages to total messages.
Implementation public function get audioLossRate():Number
byteCount:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the total number of bytes that have arrived into the queue, regardless of how many have been played or flushed.
You can use this value to calculate the incoming data rate, using the metric of your choice, by creating a timer and calculating the difference in values
in successive timer calls. Alternatively, use currentBytesPerSecond
.
Implementation public function get byteCount():Number
See also
currentBytesPerSecond:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the rate at which the NetStream buffer is filled in bytes per second. The value is calculated as a smooth
average for the total data received in the last second.
Implementation public function get currentBytesPerSecond():Number
dataBufferByteLength:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Provides the NetStream data buffer size in bytes.
It specifies the buffer size for data messages in streaming media, both live and recorded.
This property is like Netstream.bytesLoaded
,
which is used in progressive downloads.
Implementation public function get dataBufferByteLength():Number
dataBufferLength:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Provides NetStream data buffer size in seconds. This property extends the NetStream.bufferLength
property
and provides the buffer length in time specifically for data messages.
Implementation public function get dataBufferLength():Number
dataByteCount:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the total number of bytes of data messages that have arrived in the queue, regardless of how many have been played or flushed.
You can use this value to calculate the incoming data-messages rate, using the metric of your choice,
by creating a timer and calculating the difference in values in successive timer calls.
Alternatively, use dataBytesPerSecond
.
Implementation public function get dataByteCount():Number
See also
dataBytesPerSecond:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the rate at which the NetStream data buffer is filled in bytes per second. The value is calculated as a smooth
average for the data messages received in the last second.
Implementation public function get dataBytesPerSecond():Number
droppedFrames:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns the number of video frames dropped in the current NetStream playback session.
In recorded streaming or progressive download, if the video is a high-quality or high-resolution, high-bitrate video,
the decoder can lag behind in decoding the required number of frames per second if it does not have adequate
system CPU resources. In live streaming, the buffer drops video frames if the latency is too high. This property specifies
the number of frames that were dropped and not presented normally.
Implementation public function get droppedFrames():Number
maxBytesPerSecond:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the maximum rate at which the NetStream buffer is filled in bytes per second. This value provides information about the capacity of the
client network based on the last messages received by the NetStream
object. Depending on the size of the buffer specified in
NetStream.bufferTime
and the bandwidth available on the client, Flash Media Server fills the buffer in bursts.
This property provides the maximum rate at which the client buffer is filled.
Implementation public function get maxBytesPerSecond():Number
playbackBytesPerSecond:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns the stream playback rate in bytes per second. The playback buffer can contain content of various playlists.
This property provides the playback rate that closely matches the bit rate of the currently playing stream.
Implementation public function get playbackBytesPerSecond():Number
SRTT:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the Smooth Round Trip Time for the NetStream session.
This value returns a valid value only for RTMFP streams and returns 0 for RTMP streams.
For more information, see the Flash Media Server documentation.
Implementation public function get SRTT():Number
videoBufferByteLength:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Provides the NetStream video buffer size in bytes.
It specifies the buffer size for video data in streaming media, both live and recorded.
This property is like Netstream.bytesLoaded
,
which is used in progressive downloads.
Implementation public function get videoBufferByteLength():Number
videoBufferLength:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Provides NetStream video buffer size in seconds. This property extends the NetStream.bufferLength
property
and provides the buffer length in time specifically for video data.
Implementation public function get videoBufferLength():Number
videoByteCount:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the total number of video bytes that have arrived in the queue, regardless of how many have been played or flushed.
You can use this value to calculate the incoming video data rate, using the metric of your choice,
by creating a timer and calculating the difference in values in successive timer calls.
Alternatively, use videoBytesPerSecond
,
Implementation public function get videoByteCount():Number
See also
videoBytesPerSecond:Number
[read-only]
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the rate at which the NetStream video buffer is filled in bytes per second. The value is calculated as a smooth
average for the video data received in the last second.
Implementation public function get videoBytesPerSecond():Number
public function NetStreamInfo(curBPS:Number, byteCount:Number, maxBPS: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, audioLossRate:Number)
For internal use only; not recommended for use. Only the runtime can create NetStreamInfo objects.
Parameters public function toString():String
Language Version: | ActionScript 3.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Returns a text value listing the properties of the NetStreamInfo object.
Returns | String — A string containing the values of the properties of the NetStreamInfo object
|
© 2009 Adobe Systems Incorporated. All rights reserved.
Sat Oct 3 2009, 04:15 AM -07:00