public class RTPBuffer
extends java.lang.Object
Constructor and Description |
---|
RTPBuffer(Buffer buffer) |
RTPBuffer(int maxItems,
RTPReceptionStats receptionStats) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Buffer buffer) |
void |
addWait(Buffer buffer) |
void |
clear() |
int |
getCumulativePacketLoss() |
long |
getDuration() |
long |
getExtendedHighestSequenceNumber() |
int |
getItemCount() |
int |
getMaxItems() |
Buffer |
remove() |
Buffer |
removeWait() |
void |
resize(int maxItems) |
public RTPBuffer(int maxItems, RTPReceptionStats receptionStats)
public RTPBuffer(Buffer buffer)
public void resize(int maxItems)
public void clear() throws java.lang.InterruptedException
java.lang.InterruptedException
public int getMaxItems()
public int getItemCount()
public long getDuration()
public long getExtendedHighestSequenceNumber()
public int getCumulativePacketLoss()
public void addWait(Buffer buffer) throws java.lang.InterruptedException
java.lang.InterruptedException
public Buffer removeWait() throws java.lang.InterruptedException
java.lang.InterruptedException
public boolean add(Buffer buffer)
public Buffer remove() throws java.lang.InterruptedException
java.lang.InterruptedException