# RhythmPlayerReason (/zh-CN/api-reference/rtc/electron/enum-rhythmplayerreason)

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

<a id="enum_rhythmplayerreason__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="rhythmplayerreasonok"></a>
<Parameter name="RhythmPlayerReasonOk">

0：正常播放节拍音频文件，没有错误。

</Parameter>
<a id="rhythmplayerreasonfailed"></a>
<Parameter name="RhythmPlayerReasonFailed">

1：一般性错误，没有明确原因。

</Parameter>
<a id="rhythmplayerreasoncannotopen"></a>
<Parameter name="RhythmPlayerReasonCanNotOpen">

801：打开节拍音频文件出错。

</Parameter>
<a id="rhythmplayerreasoncannotplay"></a>
<Parameter name="RhythmPlayerReasonCanNotPlay">

802：播放节拍音频文件出错。

</Parameter>
<a id="rhythmplayerreasonfileoverdurationlimit"></a>
<Parameter name="RhythmPlayerReasonFileOverDurationLimit">

803：节拍音频文件时长超出限制。最大时长为 1.2 秒。

</Parameter>
</ParameterList>
