public static class DePacketizer.VP9PayloadDescriptor
extends java.lang.Object
Constructor and Description |
---|
VP9PayloadDescriptor() |
Modifier and Type | Method and Description |
---|---|
static int |
getSpatialLayerIndex(byte[] buf,
int off,
int len)
Gets the spatial layer index (SID), if that's set.
|
static int |
getTemporalLayerIndex(byte[] buf,
int off,
int len)
Gets the temporal layer index (TID), if that's set.
|
static boolean |
isEndOfFrame(byte[] buf,
int off,
int len)
Returns true if the E bit from the first byte of the payload
descriptor has value 0.
|
static boolean |
isStartOfFrame(byte[] buf,
int off,
int len)
Returns true if the B bit from the first byte of the payload
descriptor has value 0.
|
public static boolean isStartOfFrame(byte[] buf, int off, int len)
buf
- the byte buffer that holds the VP9 payload.off
- the offset in the byte buffer where the VP9 payload starts.len
- the length of the VP9 payload.public static boolean isEndOfFrame(byte[] buf, int off, int len)
buf
- the byte buffer that holds the VP9 payload.off
- the offset in the byte buffer where the VP9 payload starts.len
- the length of the VP9 payload.public static int getTemporalLayerIndex(byte[] buf, int off, int len)
buf
- the byte buffer that holds the VP9 payload.off
- the offset in the byte buffer where the VP9 payload starts.len
- the length of the VP9 payload.public static int getSpatialLayerIndex(byte[] buf, int off, int len)
buf
- the byte buffer that holds the VP9 payload.off
- the offset in the byte buffer where the VP9 payload starts.len
- the length of the VP9 payload.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.