Skip to content

Commit

Permalink
修复exoplayer播放出错时,状态没有设置的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
fanwc authored Dec 9, 2020
1 parent 773d892 commit 8010228
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ public void onRepeatModeChanged(int repeatMode) {

@Override
public void onPlayerError(ExoPlaybackException error) {
updateStatus(IPlayer.STATE_ERROR);
if(error==null){
submitErrorEvent(OnErrorEventListener.ERROR_EVENT_UNKNOWN, null);
return;
Expand Down

0 comments on commit 8010228

Please sign in to comment.