
io.pkts.packet.rtp.RtpPacket Maven / Gradle / Ivy
/**
*
*/
package io.pkts.packet.rtp;
import java.io.IOException;
import io.pkts.packet.TransportPacket;
import io.pkts.packet.impl.ApplicationPacket;
/**
* @author [email protected]
*/
public interface RtpPacket extends ApplicationPacket {
int getVersion();
boolean hasPadding() throws IOException;
boolean hasExtensions() throws IOException;
boolean hasMarker() throws IOException;
int getPayloadType() throws IOException;
int getSeqNumber() throws IOException;
long getTimestamp() throws IOException;
long getSyncronizationSource() throws IOException;
int getContributingSource() throws IOException;
/**
* Dump the entire {@link RtpPacket} as a raw byte-array.
*
* @return
*/
byte[] dumpPacket();
@Override
TransportPacket getParentPacket();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy