public static interface MediaManager.OnMediaManagerListener
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onFailed(PlayerAttribute attribute,
int msgId,
int errorId)
播放失败
|
void |
onMediaPlayState(PlayerAttribute attribute,
int state)
播放状态
|
void |
onShowRateAndTime(PlayerAttribute attribute,
boolean isShowTime,
java.lang.String time,
java.lang.String rate)
显示码流和时间戳
|
void |
onVideoBufferEnd(PlayerAttribute attribute,
com.lib.MsgContent ex)
视频缓冲结束
|
void onMediaPlayState(PlayerAttribute attribute, int state)
attribute - 播放器属性(包括播放状态参考值等)state - 播放状态void onFailed(PlayerAttribute attribute, int msgId, int errorId)
attribute - 播放器属性(包括播放状态参考值等)msgId - 消息IderrorId - 错误Id 参考 EFUN_ERRORvoid onShowRateAndTime(PlayerAttribute attribute, boolean isShowTime, java.lang.String time, java.lang.String rate)
attribute - 播放器属性(包括播放状态参考值等)isShowTime - 是否显示时间戳time - 时间戳rate - 码流void onVideoBufferEnd(PlayerAttribute attribute, com.lib.MsgContent ex)
attribute - 播放器属性(包括播放状态参考值等)ex -