public interface RtpPacket extends ApplicationPacket
| Modifier and Type | Method and Description |
|---|---|
byte[] |
dumpPacket()
Dump the entire
RtpPacket as a raw byte-array. |
int |
getContributingSource() |
TransportPacket |
getParentPacket()
Almost all packets have a parent, which is the encapsulating protocol.
|
int |
getPayloadType() |
int |
getSeqNumber() |
long |
getSyncronizationSource() |
long |
getTimestamp() |
int |
getVersion() |
boolean |
hasExtensions() |
boolean |
hasMarker() |
boolean |
hasPadding() |
clone, getArrivalTime, getName, getNextPacket, getPacket, getPayload, getProtocol, hasProtocol, verify, write, writeint getVersion()
boolean hasPadding()
throws IOException
IOExceptionboolean hasExtensions()
throws IOException
IOExceptionboolean hasMarker()
throws IOException
IOExceptionint getPayloadType()
throws IOException
IOExceptionint getSeqNumber()
throws IOException
IOExceptionlong getTimestamp()
throws IOException
IOExceptionlong getSyncronizationSource()
throws IOException
IOExceptionint getContributingSource()
throws IOException
IOExceptionbyte[] dumpPacket()
RtpPacket as a raw byte-array.TransportPacket getParentPacket()
PacketSipPacket is typically a
TransportPacket such as UDPPacket or a TCPPacket.
The parent of a TransportPacket is usually a IPPacket and
so on.getParentPacket in interface PacketCopyright © 2021. All Rights Reserved.