# EncodedVideoFrameInfo (/zh-CN/api-reference/rtc/csharp-windows/class-encodedvideoframeinfo)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```csharp
public class EncodedVideoFrameInfo
{
public EncodedVideoFrameInfo()
{
codecType = VIDEO_CODEC_TYPE.VIDEO_CODEC_H264;
width = 0;
height = 0;
framesPerSecond = 0;
frameType = VIDEO_FRAME_TYPE_NATIVE.VIDEO_FRAME_TYPE_BLANK_FRAME;
rotation = VIDEO_ORIENTATION.VIDEO_ORIENTATION_0;
trackId = 0;
captureTimeMs = 0;
uid = 0;
streamType = VIDEO_STREAM_TYPE.VIDEO_STREAM_HIGH;
}
public EncodedVideoFrameInfo(ref EncodedVideoFrameInfo rhs)
{
codecType = rhs.codecType;
width = rhs.width;
height = rhs.width;
framesPerSecond = rhs.framesPerSecond;
frameType = rhs.frameType;
rotation = rhs.rotation;
trackId = rhs.trackId;
captureTimeMs = rhs.captureTimeMs;
uid = rhs.uid;
streamType = rhs.streamType;
}
public VIDEO_CODEC_TYPE codecType { set; get; }
public int width { set; get; }
public int height { set; get; }
public int framesPerSecond { set; get; }
public VIDEO_FRAME_TYPE_NATIVE frameType { set; get; }
public VIDEO_ORIENTATION rotation { set; get; }
public int trackId { set; get; }
public int64_t captureTimeMs { set; get; }
public uint uid { set; get; }
public VIDEO_STREAM_TYPE streamType { set; get; }
};
```
## 属性 [#属性]
视频编码类型,详见 [VIDEO_CODEC_TYPE](/zh-CN/api-reference/rtc/csharp-windows/enum-videocodectype)。默认值为 `VIDEO_CODEC_H264 (2)`。
视频帧的宽度 (px)。
视频帧的高度 (px)。
每秒的视频帧数。
当该参数不为 `0` 时,你可以用它计算外部编码视频帧的 Unix 时间戳。
视频帧的类型,详见 [VIDEO_FRAME_TYPE](/zh-CN/api-reference/rtc/csharp-windows/enum-videoframetype)。
视频帧的旋转信息,详见 [VIDEO_ORIENTATION](/zh-CN/api-reference/rtc/csharp-windows/enum-videoorientation)。
预留参数。
轨道 ID。适用于频道中有多个视频轨道的场景。
采集外部编码视频帧的 Unix 时间戳 (ms)。
推送外部编码视频帧的用户 ID。
视频流类型。详见 [VIDEO_STREAM_TYPE](/zh-CN/api-reference/rtc/csharp-windows/enum-videostreamtype)。