|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.rtp.JitterBuffer
public class JitterBuffer
Implements jitter buffer. A jitter buffer temporarily stores arriving packets in order to minimize delay variations. If packets arrive too late then they are discarded. A jitter buffer may be mis-configured and be either too large or too small. If a jitter buffer is too small then an excessive number of packets may be discarded, which can lead to call quality degradation. If a jitter buffer is too large then the additional delay can lead to conversational difficulty. A typical jitter buffer configuration is 30mS to 50mS in size. In the case of an adaptive jitter buffer then the maximum size may be set to 100-200mS. Note that if the jitter buffer size exceeds 100mS then the additional delay introduced can lead to conversational difficulty.
| Constructor Summary | |
|---|---|
JitterBuffer(int jitter)
Creates new instance of jitter. |
|
| Method Summary | |
|---|---|
int |
getExpectedPacketCount()
Gives the expected Packet Count at this moment |
double |
getInterArrivalJitter()
|
int |
getJitter()
|
RtpPacket |
getLastRtpPacketRecd()
|
long |
getLastRtpPackReceivedTimeStamp()
|
double |
getMaxJitter()
|
int |
getSeqNoCycles()
|
RtpPacket |
read(long timestamp)
|
void |
reset()
|
void |
setClock(RtpClock clock)
|
void |
setFormat(org.mobicents.media.Format format)
|
void |
softReset()
Resets read/write aspects of buffer. |
void |
write(RtpPacket packet)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JitterBuffer(int jitter)
fmt - the format of the received mediajitter - the size of the jitter in milliseconds.| Method Detail |
|---|
public void setClock(RtpClock clock)
public void setFormat(org.mobicents.media.Format format)
public int getJitter()
public double getInterArrivalJitter()
public double getMaxJitter()
public void write(RtpPacket packet)
public void softReset()
public void reset()
public RtpPacket read(long timestamp)
public int getSeqNoCycles()
public RtpPacket getLastRtpPacketRecd()
public long getLastRtpPackReceivedTimeStamp()
public int getExpectedPacketCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||