|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFrameDropper
Interface for classes that implement logic to drop frames.
Field Summary | |
---|---|
static int |
SEND_ALL
Send keyframes, interframes and disposable interframes. |
static int |
SEND_INTERFRAMES
Send keyframes and interframes. |
static int |
SEND_KEYFRAMES
Send keyframes only. |
static int |
SEND_KEYFRAMES_CHECK
Send keyframes only and switch to SEND_INTERFRAMES later. |
Method Summary | |
---|---|
boolean |
canSendPacket(RTMPMessage message,
long pending)
Checks if a message may be sent to the subscriber. |
void |
dropPacket(RTMPMessage message)
Notify that a packet has been dropped. |
void |
reset()
Reset the frame dropper. |
void |
reset(int state)
Reset the frame dropper to a given state. |
void |
sendPacket(RTMPMessage message)
Notify that a message has been sent. |
Field Detail |
---|
static final int SEND_ALL
static final int SEND_INTERFRAMES
static final int SEND_KEYFRAMES
static final int SEND_KEYFRAMES_CHECK
Method Detail |
---|
boolean canSendPacket(RTMPMessage message, long pending)
message
- the message to checkpending
- the number of pending messages
true
if the packet may be sent, otherwise
false
void dropPacket(RTMPMessage message)
message
- the message that was droppedvoid sendPacket(RTMPMessage message)
message
- the message that was sentvoid reset()
void reset(int state)
state
- the state to reset the frame dropper to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |