ijkplayer状态机图

版本:ijkplayer v0.4.5.1

状态机

IJKPlayer状态机图如下

IJKPlayer状态机图

有效播放状态

// all possible internal states
private static final int STATE_ERROR = -1;
private static final int STATE_IDLE = 0;
private static final int STATE_PREPARING = 1;
private static final int STATE_PREPARED = 2;
private static final int STATE_PLAYING = 3;
private static final int STATE_PAUSED = 4;
private static final int STATE_PLAYBACK_COMPLETED = 5;

状态机图VISIO文件

IJKPlayer状态机图VISIO文件

参考

Android Media Player 状态机
IjkPlayer 状态机