public class AbstractRTPPacketPredicate extends java.lang.Object implements java.util.function.Predicate<ByteArrayBuffer>
Constructor and Description |
---|
AbstractRTPPacketPredicate(boolean rtcp)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
test(ByteArrayBuffer pkt) |
public AbstractRTPPacketPredicate(boolean rtcp)
rtcp
- true if this predicate should test for RTCP, false for RTP.public boolean test(ByteArrayBuffer pkt)
test
in interface java.util.function.Predicate<ByteArrayBuffer>
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.