30 lines
699 B
Objective-C
30 lines
699 B
Objective-C
//
|
||
// SCSVideoFrame.h
|
||
// SellyCloudSDK
|
||
//
|
||
// Created by Caleb on 19/11/25.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
#import <CoreMedia/CoreMedia.h>
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
@interface SellyRTCVideoFrame : NSObject
|
||
/// 宽度(像素)
|
||
@property (nonatomic, assign) int width;
|
||
/// 高度(像素)
|
||
@property (nonatomic, assign) int height;
|
||
/// 旋转角度(0 / 90 / 180 / 270)
|
||
@property (nonatomic, assign) NSInteger rotation;
|
||
/// 时间戳(可选)
|
||
@property (nonatomic, assign) int64_t timestamp;
|
||
/// 像素数据
|
||
@property (nonatomic, assign, nullable) CVPixelBufferRef pixelBuffer;
|
||
|
||
/// 业务元信息
|
||
@property (nonatomic, copy, nullable) NSString *uid;
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|