class RTCPFeedbackMessageSender.KeyframeRequester extends PeriodicRunnable
Constructor and Description |
---|
KeyframeRequester(long mediaSenderSSRC)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
maybeRequest(boolean allowResetRemainingRetries)
Sends an FIR RTCP message.
|
void |
maybeStopRequesting(StreamRTPManagerDesc streamRTPManager,
byte[] buf,
int off,
int len)
Notifies this instance that an RTP packet has been received from a
peer represented by a specific StreamRTPManagerDesc.
|
void |
run()
Updates
PeriodicRunnable._lastProcessTime . |
getLastProcessTime, getPeriod, getTimeUntilNextRun, setPeriod
public KeyframeRequester(long mediaSenderSSRC)
mediaSenderSSRC
- public void run()
PeriodicRunnable._lastProcessTime
.run
in interface java.lang.Runnable
run
in class PeriodicRunnable
public void maybeStopRequesting(StreamRTPManagerDesc streamRTPManager, byte[] buf, int off, int len)
streamRTPManager
- a StreamRTPManagerDesc which
identifies the peer from which an RTP packet has been receivedbuf
- the buffer which contains the bytes of the received RTP or
RTCP packetoff
- the zero-based index in buf at which the bytes of
the received RTP or RTCP packet beginlen
- the number of bytes in buf beginning at
off which represent the received RTP or RTCP packetpublic boolean maybeRequest(boolean allowResetRemainingRetries)
allowResetRemainingRetries
- true if it's allowed to reset the
remaining retries, false otherwise.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.