跳转至
400-881-9892

文档中心

官方文档,可查阅产品介绍、快速入门、用户指南、开发指南、API参考、SDK参考、帮助等信息。

文档中心 互动课堂

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;