NERtc iOS SDK  V4.6.0
属性 | 所有成员列表
NERtcVideoFrame类 参考

视频帧信息。 更多...

#import <NERtcEngineBase.h>

类 NERtcVideoFrame 继承关系图:

属性

NERtcVideoFormatType format
 视频帧格式,详细信息请参考 NERtcVideoFormatType更多...
 
uint64_t timestamp
 视频时间戳,单位为毫秒。 更多...
 
uint32_t width
 视频高,即视频帧在横轴上的像素。 更多...
 
uint32_t height
 视频宽,即视频帧在纵轴上的像素。 更多...
 
NERtcVideoRotationType rotation
 视频顺时针旋转角度。详细信息请参考 NERtcVideoRotationType更多...
 
void * buffer
 视频数据,支持 CVPixelBuffer、NSData的bytes。 更多...
 
NSArray< NSNumber * > * strides
 视频帧各平面的行间距。目前该参数仅在外部渲染视频的场景下有实际意义。 更多...
 

详细描述

视频帧信息。

属性说明

◆ buffer

- (void*) buffer
readwritenonatomicassign

视频数据,支持 CVPixelBuffer、NSData的bytes。

◆ format

- (NERtcVideoFormatType) format
readwritenonatomicassign

视频帧格式,详细信息请参考 NERtcVideoFormatType

◆ height

- (uint32_t) height
readwritenonatomicassign

视频宽,即视频帧在纵轴上的像素。

◆ rotation

- (NERtcVideoRotationType) rotation
readwritenonatomicassign

视频顺时针旋转角度。详细信息请参考 NERtcVideoRotationType

◆ strides

- (NSArray<NSNumber *>*) strides
readwritenonatomicstrong

视频帧各平面的行间距。目前该参数仅在外部渲染视频的场景下有实际意义。

◆ timestamp

- (uint64_t) timestamp
readwritenonatomicassign

视频时间戳,单位为毫秒。

◆ width

- (uint32_t) width
readwritenonatomicassign

视频高,即视频帧在横轴上的像素。


该类的文档由以下文件生成: