All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.pkts.packet.rtp.RtpPacket Maven / Gradle / Ivy

There is a newer version: 3.0.10
Show newest version
/**
 * 
 */
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 - 2024 Weber Informatics LLC | Privacy Policy