public class CallVideoFrame extends Object
构造器和说明 |
---|
CallVideoFrame() |
CallVideoFrame(int oesTextureId,
int width,
int height,
byte[] data) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
getCurrentCaptureDataType()
获取当前视频采集类型
|
byte[] |
getData()
YUV 数据
|
int |
getHeight()
当前帧的高度
|
int |
getOesTextureId()
纹理资源 id
|
int |
getRotation()
旋转角度
|
long |
getTimestamp()
时间戳
|
float[] |
getTransformMatrix() |
int |
getWidth()
当前帧的宽度
|
void |
setData(byte[] data) |
void |
setHeight(int height) |
void |
setOesTextureId(int oesTextureId) |
void |
setRotation(int rotation) |
void |
setTimestamp(long timestamp) |
void |
setTransformMatrix(float[] transformMatrix) |
void |
setWidth(int width) |
public CallVideoFrame()
public CallVideoFrame(int oesTextureId, int width, int height, byte[] data)
public void setOesTextureId(int oesTextureId)
public void setWidth(int width)
public void setHeight(int height)
public void setData(byte[] data)
public void setRotation(int rotation)
public void setTimestamp(long timestamp)
public float[] getTransformMatrix()
public void setTransformMatrix(float[] transformMatrix)
public int getOesTextureId()
public int getWidth()
public int getHeight()
public byte[] getData()
public boolean getCurrentCaptureDataType()
public long getTimestamp()
public int getRotation()