public class RtcpDemuxPacketFilter extends Object implements DatagramPacketFilter
Constructor and Description |
---|
RtcpDemuxPacketFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(DatagramPacket p)
Returns true if this RtcpDemuxPacketFilter should
accept p, that is, if p looks like an RTCP packet.
|
static boolean |
isRtcpPacket(DatagramPacket p)
Determines whether a specific DatagramPacket is an RTCP.
|
public static boolean isRtcpPacket(DatagramPacket p)
p
- the DatagramPacket whose protocol we'd like to
determine.public boolean accept(DatagramPacket p)
isRtcpPacket(java.net.DatagramPacket)
accept
in interface DatagramPacketFilter
p
- the DatagramPacket which is to be checked whether it is
accepted by this filterCopyright © 2018. All rights reserved.