Inherits <NSObject>.
◆ type
Video format:
- 1: I420
- 2: BGRA
- 3: NV21
- 4: RGBA
- 5: IMC2
- 7: ARGB
- 8: NV12
- 12: iOS texture (CVPixelBufferRef)
◆ width
The width of the Video frame.
◆ height
The height of the video frame.
◆ yStride
The line span of Y buffer in the YUV data.
◆ uStride
The line span of U buffer in the YUV data.
◆ vStride
The line span of V buffer in the YUV data.
◆ yBuffer
- (uint8_t* _Nullable) yBuffer |
|
readwritenonatomicassign |
The pointer to the Y buffer in the YUV data.
◆ uBuffer
- (uint8_t* _Nullable) uBuffer |
|
readwritenonatomicassign |
The pointer to the U buffer in the YUV data.
◆ vBuffer
- (uint8_t* _Nullable) vBuffer |
|
readwritenonatomicassign |
The pointer to the V buffer in the YUV data.
◆ rotation
The clockwise rotation information of this frame. You can set it as 0, 90, 180 or 270.
◆ renderTimeMs
The timestamp to render the video stream. Use this parameter for audio-video synchronization when rendering the video.
- Note
- This parameter is for rendering the video, not capturing the video.
◆ avSyncType
The type of audio-video synchronization.
◆ pixelBuffer
- (CVPixelBufferRef _Nullable) pixelBuffer |
|
readwritenonatomicassign |