RCRTCVideoFrame

public class RCRTCVideoFrame

视频帧数据

Constructors

Link copied to clipboard
public void RCRTCVideoFrame()
@Deprecated()
public void RCRTCVideoFrame(int width, int height, int rotation, long timestamp, int textureId, RCRTCVideoFrame.Type textureType)
@Deprecated()
public void RCRTCVideoFrame(int width, int height, int rotation, long timestamp, Array<byte> data)
@Deprecated()
public void RCRTCVideoFrame(int width, int height, int rotation, long timestamp, int textureId, RCRTCVideoFrame.Type textureType, Array<float> transformMatrix)
public void RCRTCVideoFrame(int width, int height, int rotation, long timestamp, RCRTCVideoFrameData frameData, RCRTCVideoFrame.BufferType dataType)

Types

Link copied to clipboard
public enum BufferType
Link copied to clipboard
public enum CaptureType
已废弃, 推荐使用 BufferType
Link copied to clipboard
public enum Type
已废弃, 推荐使用 BufferType

Properties

Link copied to clipboard
public Array<byte> data
Link copied to clipboard
Link copied to clipboard
public RCRTCVideoFrameData frameData
Link copied to clipboard
public int height
Link copied to clipboard
public int rotation
Link copied to clipboard
public int textureId
Link copied to clipboard
@Deprecated()
public RCRTCVideoFrame.Type textureType
Link copied to clipboard
public long timestamp
Link copied to clipboard
@Deprecated()
public Array<float> transformMatrix
Link copied to clipboard
public int width

Functions

Link copied to clipboard
获取当前视频采集类型
Link copied to clipboard
public Array<byte> getData()
使用 getData 或  中yuv分量数据
Link copied to clipboard
Link copied to clipboard
public RCRTCVideoFrameData getFrameData()
Link copied to clipboard
public int getHeight()
当前帧的高度
Link copied to clipboard
public int getOesTextureId()
纹理资源 id 此方法已废弃,推荐使用 getTextureId
Link copied to clipboard
public int getRotation()
旋转角度
Link copied to clipboard
public int getTextureId()
纹理资源 id 此方法已废弃,推荐使用 getTextureId
Link copied to clipboard
已废弃 推荐使用 getDataType
Link copied to clipboard
public long getTimestamp()
时间戳
Link copied to clipboard
public Array<float> getTransformMatrix()
Link copied to clipboard
public int getWidth()
当前帧的宽度
Link copied to clipboard
public void setData(Array<byte> data)
Link copied to clipboard
public void setDataType(RCRTCVideoFrame.BufferType dataType)
Link copied to clipboard
public void setHeight(int height)
Link copied to clipboard
public void setRotation(int rotation)
Link copied to clipboard
public void setTextureId(int textureId)
纹理资源 id 此方法已废弃,推荐使用 getTextureId设置纹理ID
Link copied to clipboard
public void setTextureType(RCRTCVideoFrame.Type textureType)
已废弃 * 推荐使用 setDataType
Link copied to clipboard
public void setTimestamp(long timestamp)
Link copied to clipboard
public void setTransformMatrix(Array<float> transformMatrix)
Link copied to clipboard
public void setWidth(int width)