Package io.rong.calllib
Class CallVideoFrame
-
- All Implemented Interfaces:
public class CallVideoFrame视频帧数据实体类
-
-
Field Summary
Fields Modifier and Type Field Description public intoesTextureIdpublic intwidthpublic intheightpublic Array<byte>datapublic introtationpublic longtimestamppublic Array<float>transformMatrix
-
Constructor Summary
Constructors Constructor Description CallVideoFrame()CallVideoFrame(int oesTextureId, int width, int height, Array<byte> data)
-
Method Summary
Modifier and Type Method Description intgetOesTextureId()纹理资源 id voidsetOesTextureId(int oesTextureId)intgetWidth()当前帧的宽度 voidsetWidth(int width)intgetHeight()当前帧的高度 voidsetHeight(int height)Array<byte>getData()YUV 数据 voidsetData(Array<byte> data)intgetRotation()旋转角度 voidsetRotation(int rotation)longgetTimestamp()时间戳 voidsetTimestamp(long timestamp)Array<float>getTransformMatrix()voidsetTransformMatrix(Array<float> transformMatrix)booleangetCurrentCaptureDataType()获取当前视频采集类型 -
-
Constructor Detail
-
CallVideoFrame
CallVideoFrame()
-
CallVideoFrame
CallVideoFrame(int oesTextureId, int width, int height, Array<byte> data)
-
-
Method Detail
-
getOesTextureId
int getOesTextureId()
纹理资源 id
-
setOesTextureId
void setOesTextureId(int oesTextureId)
-
getWidth
int getWidth()
当前帧的宽度
-
setWidth
void setWidth(int width)
-
getHeight
int getHeight()
当前帧的高度
-
setHeight
void setHeight(int height)
-
getRotation
int getRotation()
旋转角度
-
setRotation
void setRotation(int rotation)
-
getTimestamp
long getTimestamp()
时间戳
-
setTimestamp
void setTimestamp(long timestamp)
-
getTransformMatrix
Array<float> getTransformMatrix()
-
setTransformMatrix
void setTransformMatrix(Array<float> transformMatrix)
-
getCurrentCaptureDataType
boolean getCurrentCaptureDataType()
获取当前视频采集类型
- Returns:
true:texture方式采集 YUV 方式采集,
-
-
-
-