# AgoraMediaRecorderReasonCode (/zh-CN/api-reference/rtc/macos/enum-recorderreasoncode) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ## 枚举值 [#枚举值] (0):无错误。 (1):无法将录制数据写入文件。 (2):未检测到音视频流,或录制过程中音视频流中断超过 5 秒。 (3):录制时长超过上限。 (4):录制配置发生变更。