public class VP8Frame
extends java.lang.Object
Constructor and Description |
---|
VP8Frame()
Create an empty VP8Frame that need to be set later.
|
VP8Frame(long timestamp,
int frameLength,
byte[] frameData)
Create a VP8Frame filled with the data of the frame, its
timestamp and the length of the data (in bytes)
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getFrameData()
Get the data composing the VP8 frame.
|
int |
getFrameLength()
Get the length of the frame (in bytes) as declared in its header.
|
long |
getTimestamp()
Get the timestamp of the frame as declared in its header.
|
void |
set(long timestamp,
int frameLength,
byte[] frameData)
Set all the attributes of the VP8Frame.
|
public VP8Frame()
public VP8Frame(long timestamp, int frameLength, byte[] frameData)
timestamp
- the timestamp of the frame.frameLength
- the length of the frame declared in its header.frameData
- the data of the frame.public long getTimestamp()
public int getFrameLength()
public byte[] getFrameData()
public void set(long timestamp, int frameLength, byte[] frameData)
timestamp
- the timestamp of the frame.frameLength
- the length of the frame.frameData
- the data of the length.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.