# RTMP_STREAM_LIFE_CYCLE_TYPE (/zh-CN/api-reference/rtc/unreal-cpp/enum-rtmpstreamlifecycletype)

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

<a id="enum_rtmpstreamlifecycletype__detailed_desc"></a>

### 详情 [#详情]

<a id="弃用"></a>

:::error[弃用]

:::

<a id="enum_rtmpstreamlifecycletype__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="rtmp_stream_life_cycle_bind2channel"></a>
<Parameter name="RTMP_STREAM_LIFE_CYCLE_BIND2CHANNEL">

跟频道生命周期绑定，即频道内所有主播离开，服务端转码推流会在 30 秒之后停止。

</Parameter>
<a id="rtmp_stream_life_cycle_bind2owner"></a>
<Parameter name="RTMP_STREAM_LIFE_CYCLE_BIND2OWNER">

跟启动服务端转码推流的主播生命周期绑定，即该主播离开，服务端转码推流会立即停止。

</Parameter>
</ParameterList>
