SellyCloudSDK_demo/SellyCloudSDK/sdk/SellyCloudSDK.framework/Headers/SellyRTCVideoFrame.h

30 lines
699 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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