public final class Frame
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Frame.Builder
A builder class for building
Frames. |
| Modifier and Type | Field and Description |
|---|---|
static int |
FRAME_TYPE_KEY |
static int |
FRAME_TYPE_NONE |
static int |
HEADER_SIZE |
static int |
MIME_TYPE_AUDIO_AAC |
static int |
MIME_TYPE_TEXT |
static int |
MIME_TYPE_VIDEO_H264 |
| Constructor and Description |
|---|
Frame(java.nio.ByteBuffer buf)
The constructor for this class.
|
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
getData() |
long |
getFrameDuration() |
long |
getFrameIndex() |
long |
getFramePts() |
int |
getFrameType() |
int |
getMimeType() |
java.lang.String |
toString() |
public static final int FRAME_TYPE_KEY
public static final int FRAME_TYPE_NONE
public static final int MIME_TYPE_VIDEO_H264
public static final int MIME_TYPE_AUDIO_AAC
public static final int MIME_TYPE_TEXT
public static final int HEADER_SIZE
public Frame(java.nio.ByteBuffer buf)
buf - The bytebuffer from which this frame has to be createdpublic int getMimeType()
public long getFrameIndex()
public int getFrameType()
public long getFrameDuration()
public long getFramePts()
public java.nio.ByteBuffer getData()
public java.lang.String toString()
toString in class java.lang.Object