public class RtpdumpFileReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
FILE_HEADER_LENGTH
The size of the first header of the file (in bytes).
|
| Constructor and Description |
|---|
RtpdumpFileReader(String filePath)
Initialize a new instance of RtpdumpFileReader that will the
rtpdump file located by filePath.
|
| Modifier and Type | Method and Description |
|---|---|
RawPacket |
getNextPacket(boolean loopFile)
Get the next rtp packet recorded in the rtpdump file.
|
public static final int FILE_HEADER_LENGTH
public RtpdumpFileReader(String filePath)
filePath - the location of the rtpdump file this
RtpdumpFileReader will read.public RawPacket getNextPacket(boolean loopFile) throws 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.IOException - if loopFile was false and the end of the file
is reached.Copyright © 2021 jitsi.org. All rights reserved.