Package | com.adobe.mediacore |
Class | public class BufferControlParameters |
Inheritance | BufferControlParameters ![]() |
Property | Defined By | ||
---|---|---|---|
initialBufferTime : uint [read-only]
Initial buffer time expressed in milliseconds. | BufferControlParameters | ||
playbackBufferTime : uint [read-only]
Playback buffer time expressed in milliseconds. | BufferControlParameters |
Method | Defined By | ||
---|---|---|---|
BufferControlParameters(initialBufferTime:uint, playbackBufferTime:uint)
Default constructor. | BufferControlParameters | ||
createDual(initialBufferTime:uint, playbackBufferTime:uint):BufferControlParameters [static]
Factory method. | BufferControlParameters | ||
createSimple(bufferTime:uint):BufferControlParameters [static]
Factory method. | BufferControlParameters | ||
isEqual(other:BufferControlParameters):Boolean
Checks if this instance is equal with the specified one. | BufferControlParameters | ||
toString():String
Returns a String representation of the current adaptive bit rate parameters. | BufferControlParameters |
initialBufferTime | property |
initialBufferTime:uint
[read-only] Initial buffer time expressed in milliseconds. The player will buffer this much data when starting the playback or when executing a seeking command.
public function get initialBufferTime():uint
playbackBufferTime | property |
playbackBufferTime:uint
[read-only] Playback buffer time expressed in milliseconds. During playback the player will try to buffer this much data.
public function get playbackBufferTime():uint
BufferControlParameters | () | Constructor |
public function BufferControlParameters(initialBufferTime:uint, playbackBufferTime:uint)
Default constructor.
ParametersinitialBufferTime:uint — value used for initial playback start-up.
| |
playbackBufferTime:uint — value used during playback.
|
createDual | () | method |
public static function createDual(initialBufferTime:uint, playbackBufferTime:uint):BufferControlParameters
Factory method. Creates a buffer control parameters instance using the specified values for initial buffer and playback buffer.
Parameters
initialBufferTime:uint — the value of the initial buffer time (expressed in ms). Once
the player buffer reaches this threshold, playback can begin.
This allows a fast start experience.
| |
playbackBufferTime:uint — the value of the player buffer time (expressed in ms). The
player will buffer fragments until it reaches this value. The
buffer length can exceed this value.
|
BufferControlParameters — an instance of the BufferControlParameters
|
createSimple | () | method |
public static function createSimple(bufferTime:uint):BufferControlParameters
Factory method. Creates a buffer control parameters instance using the same value both for initial buffer and playback buffer.
Parameters
bufferTime:uint — the value of the player buffer time and the initial buffer time
(expressed in ms).
|
BufferControlParameters — an instance of the BufferControlParameters
|
isEqual | () | method |
public function isEqual(other:BufferControlParameters):Boolean
Checks if this instance is equal with the specified one.
Parameters
other:BufferControlParameters — the instance to be compared to.
|
Boolean — true if they are equal, false otherwise.
|
toString | () | method |
public function toString():String
Returns a String representation of the current adaptive bit rate parameters.
ReturnsString — a string representation
|