|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.rtp.RtpClock
org.mobicents.media.server.impl.rtp.clock.AudioClock
public class AudioClock
| Field Summary |
|---|
| Fields inherited from class org.mobicents.media.server.impl.rtp.RtpClock |
|---|
now |
| Constructor Summary | |
|---|---|
AudioClock()
|
|
| Method Summary | |
|---|---|
long |
getTime(long timestamp)
Returns the time in milliseconds |
long |
getTimestamp(long time)
Calculates RTP timestamp |
void |
setFormat(org.mobicents.media.Format format)
|
| Methods inherited from class org.mobicents.media.server.impl.rtp.RtpClock |
|---|
getFormat, isSynchronized, now, reset, synchronize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AudioClock()
| Method Detail |
|---|
public void setFormat(org.mobicents.media.Format format)
setFormat in class RtpClockpublic long getTime(long timestamp)
RtpClock
getTime in class RtpClocktimestamp - the rtp timestamp
public long getTimestamp(long time)
RtpClock
getTimestamp in class RtpClocktime - the time in milliseconds
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||