public class RtpdumpFileReader extends java.lang.Object
|Modifier and Type||Field and Description|
The size of the first header of the file (in bytes).
|Constructor and Description|
Initialize a new instance of RtpdumpFileReader that will the rtpdump file located by filePath.
|Modifier and Type||Method and Description|
Get the next rtp packet recorded in the rtpdump file.
public static final int FILE_HEADER_LENGTH
public RtpdumpFileReader(java.lang.String filePath)
filePath- the location of the rtpdump file this RtpdumpFileReader will read.
public RawPacket getNextPacket(boolean loopFile) throws java.io.IOException
loopFile- if true, when the end of the rtpdump file is reached, this RtpdumpFileReader will go back at the beginning of the file and get the first packet.
java.io.IOException- if loopFile was false and the end of the file is reached.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.