static class VPX.StreamInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
h
Height
|
(package private) boolean |
is_kf
Is keyframe
|
(package private) int |
w
Width
|
Constructor and Description |
---|
StreamInfo(int iface,
byte[] buf,
int buf_offset,
int buf_size)
Initializes this instance by parsing buf
|
Modifier and Type | Method and Description |
---|---|
int |
getH()
Gets the h (height) field of this instance.
|
int |
getW()
Gets the w (width) field of this instance.
|
boolean |
isKf()
Gets the is_kf (is keyframe) field of this instance.
|
StreamInfo(int iface, byte[] buf, int buf_offset, int buf_size)
iface
- Interface, should be one of the INTERFACE_*
constants.buf
- Buffer containing a compressed frame to parse.buf_offset
- Offset into buffer where the compressed frame
begins.buf_size
- Size of the compressed frame.public int getW()
public int getH()
public boolean isKf()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.