实时音视频 SparkRTC-数据类型:HWRtcVideoFrame
HWRtcVideoFrame
属性 |
描述 |
---|---|
@property (assign, nonatomic) HWRtcVideoImageFormat format; |
图像格式 ,具体请参见HWRtcVideoImageFormat |
@property (assign, nonatomic) NSUInteger width; |
图像宽度,作为输入时,范围为[90,1920],必须是4的整数倍 |
@property (assign, nonatomic) NSUInteger height; |
图像高度,作为输入时,范围为[90,1200],必须是2的整数倍 |
@property (strong, nonatomic) NSData * _Nullable data; |
存储视频数据的buf地址 |
@property (assign, nonatomic) NSUInteger dataLen; |
视频数据的长度,单位为Byte |
@property (strong, nonatomic) NSString *userId; |
被选看的远端用户本地推流不需要赋值 |