|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.adobe.mediacore.BufferControlParameters
public final class BufferControlParameters
Encapsulates all buffer control parameters. Currently parameters are: - initial buffer time - play buffer time
Method Summary | |
---|---|
static BufferControlParameters |
createDual(long initialBuffer,
long bufferTime)
Factory method. |
static BufferControlParameters |
createSimple(long bufferTime)
Factory method. |
long |
getInitialBufferTime()
|
long |
getPlayBufferTime()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static BufferControlParameters createSimple(long bufferTime)
bufferTime
- the value of the player buffer time and the initial buffer time
(expressed in ms).
public static BufferControlParameters createDual(long initialBuffer, long bufferTime)
initialBuffer
- 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.bufferTime
- 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, since this is the Low Water Mark.
There is also a High Water Mark in place, that depends on the LWM, above
which the buffer
public long getInitialBufferTime()
public long getPlayBufferTime()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |