# RTMP_STREAM_LIFE_CYCLE_TYPE (/zh-CN/api-reference/rtc/cpp-all-platforms/enum-rtmpstreamlifecycletype) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ## 枚举值 [#枚举值] (1):绑定到频道的生命周期。如果所有主播离开频道,CDN 推流将在 30 秒后停止。 (2):绑定到 RTMP 流拥有者的生命周期。如果拥有者离开频道,CDN 推流将立即停止。