AgoraEncodedVideoFrameInfo
- macOS
更新时间不可用
描述外部编码视频帧的信息。
__attribute__((visibility("default"))) @interface AgoraEncodedVideoFrameInfo: NSObject
@property (assign, nonatomic) AgoraVideoCodecType codecType;
@property (assign, nonatomic) NSInteger width;
@property (assign, nonatomic) NSInteger height;
@property (assign, nonatomic) NSInteger framesPerSecond;
@property (assign, nonatomic) AgoraVideoFrameType frameType;
@property (assign, nonatomic) NSInteger rotation;
@property (assign, nonatomic) NSInteger trackId;
@property (assign, nonatomic) NSInteger captureTimeMs;
@property (assign, nonatomic) NSInteger decodeTimeMs;
@property (assign, nonatomic) AgoraVideoStreamType streamType;
@end属性
| 参数名 | 描述 |
|---|---|
codecType | 本地视频流的首选编码器类型,详见 AgoraVideoCodecType。 |
width | |
height | |
framesPerSecond | |
frameType | 视频帧的类型,详见 AgoraVideoFrameType。 |
rotation | |
trackId | |
captureTimeMs | |
decodeTimeMs | |
streamType | 视频流的类型,详见 AgoraVideoStreamType。 |