# VideoCodecType (/zh-CN/api-reference/rtc/android/enum-videocodectypeforstream)

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

<a id="enum_videocodectypeforstream__detailed_desc"></a>

:::info[自从]
自 v3.2.0 版本新增。
:::

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

## 枚举值 [#枚举值]

<ParameterList>
<a id="h264"></a>
<Parameter name="H264">

（1）：（默认）使用 H.264 编解码器。

</Parameter>
<a id="h265"></a>
<Parameter name="H265">

（2）：使用 H.265 编解码器。

</Parameter>
</ParameterList>
