# MediaPlayerEvent (/zh-CN/api-reference/rtc/android/4.6.0/class-and-enum/enums/enum-mediaplayerevent) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ## 枚举值 [#枚举值] ### `PLAYER_EVENT_UNKNOWN` [#player_event_unknown] (-1):未知事件。 ### `PLAYER_EVENT_SEEK_BEGIN` [#player_event_seek_begin] (0):开始跳转到新的播放位置。 ### `PLAYER_EVENT_SEEK_COMPLETE` [#player_event_seek_complete] (1):完成跳转到新的播放位置。 ### `PLAYER_EVENT_SEEK_ERROR` [#player_event_seek_error] (2):跳转到新的播放位置时发生错误。 ### `PLAYER_EVENT_AUDIO_TRACK_CHANGED` [#player_event_audio_track_changed] (5):音轨已更改。 ### `PLAYER_EVENT_BUFFER_LOW` [#player_event_buffer_low] (6):缓冲数据不足,无法支持播放。 ### `PLAYER_EVENT_BUFFER_RECOVER` [#player_event_buffer_recover] (7):缓冲数据刚好足以支持播放。 ### `PLAYER_EVENT_FREEZE_START` [#player_event_freeze_start] (8):播放卡顿。 ### `PLAYER_EVENT_FREEZE_STOP` [#player_event_freeze_stop] (9):播放恢复流畅。 ### `PLAYER_EVENT_SWITCH_BEGIN` [#player_event_switch_begin] (10):开始切换媒体资源。 ### `PLAYER_EVENT_SWITCH_COMPLETE` [#player_event_switch_complete] (11):媒体资源切换完成。 ### `PLAYER_EVENT_SWITCH_ERROR` [#player_event_switch_error] (12):媒体资源切换失败。 ### `PLAYER_EVENT_FIRST_DISPLAYED` [#player_event_first_displayed] (13):首帧视频已渲染。 ### `PLAYER_EVENT_REACH_CACHE_FILE_MAX_COUNT` [#player_event_reach_cache_file_max_count] (14):缓存的媒体文件数量达到上限。 ### `PLAYER_EVENT_REACH_CACHE_FILE_MAX_SIZE` [#player_event_reach_cache_file_max_size] (15):缓存的媒体文件总大小达到上限。 ### `PLAYER_EVENT_TRY_OPEN_START` [#player_event_try_open_start] (16):开始重试打开媒体。 ### `PLAYER_EVENT_TRY_OPEN_SUCCEED` [#player_event_try_open_succeed] (17):重试打开媒体成功。 ### `PLAYER_EVENT_TRY_OPEN_FAILED` [#player_event_try_open_failed] (18):重试打开媒体失败。