AgoraVideoDataFrame Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | AgoraObjects.h |
frameType
The color video format. See AgoraVideoFrameType.
@property (assign, nonatomic) AgoraVideoFrameType frameTypeDeclared In
AgoraObjects.h
width
The width (px) of the video.
@property (assign, nonatomic) NSInteger widthDeclared In
AgoraObjects.h
height
The height (px) of the video.
@property (assign, nonatomic) NSInteger heightDeclared In
AgoraObjects.h
yStride
For YUV data, the line span of the Y buffer; for RGBA data, the total data length.
@property (assign, nonatomic) NSInteger yStrideDeclared In
AgoraObjects.h
uStride
For YUV data, the line span of the U buffer; for RGBA data, the value is 0.
@property (assign, nonatomic) NSInteger uStrideDeclared In
AgoraObjects.h
vStride
For YUV data, the line span of the V buffer; for RGBA data, the value is 0.
@property (assign, nonatomic) NSInteger vStrideDeclared In
AgoraObjects.h
yBuffer
For YUV data, the pointer to the Y buffer; for RGBA data, the data buffer.
@property (assign, nonatomic) void *yBufferDeclared In
AgoraObjects.h
uBuffer
For YUV data, the pointer to the U buffer; for RGBA data, the value is 0.
@property (assign, nonatomic) void *uBufferDeclared In
AgoraObjects.h
vBuffer
For YUV data, the pointer to the V buffer; for RGBA data, the value is 0.
@property (assign, nonatomic) void *vBufferDeclared In
AgoraObjects.h
rotation
The clockwise rotation angle of the video frame. See AgoraVideoRotation.
@property (assign, nonatomic) AgoraVideoRotation rotationDeclared In
AgoraObjects.h
renderTimeMs
The Unix timestamp (ms) when the video frame is rendered. This timestamp can be used to guide the rendering of the video frame. This parameter is required.
@property (assign, nonatomic) int64_t renderTimeMsDeclared In
AgoraObjects.h
avsync_type
Reserved parameter.
@property (assign, nonatomic) NSInteger avsync_typeDeclared In
AgoraObjects.h