Class RawPacketScheduler
- java.lang.Object
-
- org.jitsi.impl.neomedia.jmfext.media.protocol.rtpdumpfile.RawPacketScheduler
-
public class RawPacketScheduler extends Object
Suggests a schedule method that puts the current thread to sleep for X milis, where X is such that RTP timestamps and a given clock are respected.- Author:
- George Politis
-
-
Constructor Summary
Constructors Constructor Description RawPacketScheduler(long clockRate)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidschedule(RawPacket rtpPacket)puts the current thread to sleep for X milis, where X is such that RTP timestamps and a given clock are respected.
-
-
-
Method Detail
-
schedule
public void schedule(RawPacket rtpPacket) throws InterruptedException
puts the current thread to sleep for X milis, where X is such that RTP timestamps and a given clock are respected.- Parameters:
rtpPacket- the RTPPacket to schedule.- Throws:
InterruptedException
-
-