net.sf.fmj.media.rtp
Class RTPBuffer
java.lang.Object
net.sf.fmj.media.rtp.RTPBuffer
public class RTPBuffer
- extends java.lang.Object
Buffer for incoming RTP packets
instance variables have default values in java, so classes are gettings smaller
- Version:
- 1-1-alpha3
- Author:
- mgodehardt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RTPBuffer
public RTPBuffer(int maxItems,
RTPReceptionStats receptionStats)
RTPBuffer
public RTPBuffer(Buffer buffer)
resize
public void resize(int maxItems)
clear
public void clear()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
getMaxItems
public int getMaxItems()
getItemCount
public int getItemCount()
getDuration
public long getDuration()
getExtendedHighestSequenceNumber
public long getExtendedHighestSequenceNumber()
getCumulativePacketLoss
public int getCumulativePacketLoss()
addWait
public void addWait(Buffer buffer)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
removeWait
public Buffer removeWait()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
add
public boolean add(Buffer buffer)
remove
public Buffer remove()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException