音视频通讯SDK API参考手册  iOS 1.6.0
QAVFrameDesc类 参考

视频帧描述

#import <QAVCommon.h>

类 QAVFrameDesc 继承关系图:

属性

UInt32 width
 宽度,单位:像素。 更多...
 
UInt32 height
 高度,单位:像素。 更多...
 
int rotate
 
avColorFormats color_format
 色彩格式, 更多...
 
avVideoSrcType srcType
 视频源类型,详情见 更多...
 

属性说明

- (avColorFormats) color_format
readwritenonatomicassign
- (UInt32) height
readwritenonatomicassign
- (int) rotate
readwritenonatomicassign

画面旋转的角度:

  • source_type为AVVIDEO_SRC_TYPE_CAMERA时,表示视频源为摄像头。 在终端上,摄像头画面是支持旋转的,App需要根据旋转角度调整渲染层的处理,以保证画面的正常显示。
  • source_type为其他值时,rotate恒为0。
- (avVideoSrcType) srcType
readwritenonatomicassign
- (UInt32) width
readwritenonatomicassign