public class RTCPPacketParserEx
extends net.sf.fmj.media.rtp.RTCPPacketParser
RTCPPacketParser to allow the parsing of additional RTCP
packet types such as REMB, NACK and XR.| Constructor and Description |
|---|
RTCPPacketParserEx() |
| Modifier and Type | Method and Description |
|---|---|
net.sf.fmj.media.rtp.RTCPPacket |
parse(byte[] data,
int offset,
int length) |
protected net.sf.fmj.media.rtp.RTCPPacket |
parse(net.sf.fmj.media.rtp.RTCPCompoundPacket base,
int firstbyte,
int type,
int length,
DataInputStream in) |
static RawPacket |
toRawPacket(net.sf.fmj.media.rtp.RTCPPacket rtcp)
Initializes a new
RawPacket instance from a specific
RTCPPacket. |
public static RawPacket toRawPacket(net.sf.fmj.media.rtp.RTCPPacket rtcp) throws IOException
RawPacket instance from a specific
RTCPPacket.rtcp - the RTCPPacket to represent as a RawPacketRawPacket instance which represents the specified
rtcpIOException - if an input/output error occurs during the
serialization/writing of the binary representation of the specified
rtcppublic net.sf.fmj.media.rtp.RTCPPacket parse(byte[] data,
int offset,
int length)
throws net.sf.fmj.media.rtp.util.BadFormatException
net.sf.fmj.media.rtp.util.BadFormatExceptionprotected net.sf.fmj.media.rtp.RTCPPacket parse(net.sf.fmj.media.rtp.RTCPCompoundPacket base,
int firstbyte,
int type,
int length,
DataInputStream in)
throws net.sf.fmj.media.rtp.util.BadFormatException,
IOException
parse in class net.sf.fmj.media.rtp.RTCPPacketParserbase - firstbyte - the first byte of the RTCP packettype - the packet type of the RTCP packetlength - the length in bytes of the RTCP packet, including all
headers and excluding padding.in - the binary representation from which the new
instance is to be initialized, excluding the first 4 bytes.net.sf.fmj.media.rtp.util.BadFormatExceptionIOExceptionCopyright © 2021 jitsi.org. All rights reserved.