|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.fmj.media.rtp.RTPJitterBuffer
public class RTPJitterBuffer
Implements a RTP Jitter Buffer
Constructor Summary | |
---|---|
RTPJitterBuffer(int size)
Creates a new RTPJitterBuffer |
Method Summary | |
---|---|
boolean |
add(Buffer data)
Adds a buffer of data to the buffer |
long |
peekTimeStamp()
Returns the first buffer sequence in the queue without removing it |
Buffer |
remove()
Removes the first buffer from the queue |
void |
setStatistics(RTPReceptionStats statistics)
Sets the statistics to be added to by this buffer |
int |
size()
Returns the current number of elements on the queue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RTPJitterBuffer(int size)
size
- The size of the bufferMethod Detail |
---|
public void setStatistics(RTPReceptionStats statistics)
statistics
- The statistics to add topublic boolean add(Buffer data)
data
- The data to add
public Buffer remove()
public long peekTimeStamp()
public int size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |