# VIDEO_CODEC_TYPE_FOR_STREAM (/zh-CN/api-reference/rtc/cpp-all-platforms/enum-videocodectypeforstream)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="enum_videocodectypeforstream__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="video_codec_h264_for_stream"></a>
<Parameter name="VIDEO_CODEC_H264_FOR_STREAM">

（1）：（默认）使用 H.264 编码格式。

</Parameter>
<a id="video_codec_h265_for_stream"></a>
<Parameter name="VIDEO_CODEC_H265_FOR_STREAM">

（2）：使用 H.265 编码格式。

</Parameter>
</ParameterList>
