跳转至

TKVideoFrame类

说明 类型
Inherits from NSObject
Declared in TKRoomDefines.h

概览

视频数据信息(YUV格式)

width

width of video frame

@property (assign, nonatomic) NSInteger width;

height

Height of video frame

@property (assign, nonatomic) NSInteger height;

yStride

Stride of Y data buffer

@property (assign, nonatomic) NSInteger yStride;

uStride

Stride of U data buffer

@property (assign, nonatomic) NSInteger uStride;

vStride

Stride of V data buffer

@property (assign, nonatomic) NSInteger vStride;

yBuffer

Y data buffer

@property (nonatomic) void *yBuffer;

uBuffer

U data buffer

@property (nonatomic) void *uBuffer;

vBuffer

V data buffer

@property (nonatomic) void *vBuffer;

rotation

Rotation of this frame (0, 90, 180, 270)

@property (assign, nonatomic) NSInteger rotation;

© 2016-2023 北京拓课网络科技有限公司 版权所有  京ICP备17018423号-1 京公网安备11010502043461号