# AgoraMediaPlayerEvent (/zh-CN/api-reference/rtc/macos/enum-mediaplayerevent)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
## 枚举值 [#枚举值]
(0):开始跳转到新的播放位置。
(1):完成跳转到新的播放位置。
(2):跳转到新的播放位置时发生错误。
(5):音轨已更改。
(6):缓冲数据不足,无法支持播放。
(7):缓冲数据刚好足以支持播放。
(8):音频或视频播放卡顿。
(9):音频或视频播放恢复正常。
(10):开始切换媒体资源。
(11):媒体资源切换完成。
(12):媒体资源切换失败。
(13):首帧视频已渲染。
(14):缓存的媒体文件数量达到上限。
(15):缓存的媒体文件总大小达到上限。
(16):开始重试打开媒体资源。
(17):重试打开媒体资源成功。
(18):重试打开媒体资源失败。