Skip to content

Commit

Permalink
exoplayer notifyInfo onPositionDiscontinuity
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuoSmall committed Jul 6, 2018
1 parent d7e3f20 commit 0ededb6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
*/
public class IjkExo2MediaPlayer extends AbstractMediaPlayer implements Player.EventListener, AnalyticsListener {


public static int ON_POSITION_DISCOUNTINUITY = 2702;

private static final String TAG = "IjkExo2MediaPlayer";

protected Context mAppContext;
Expand Down Expand Up @@ -541,7 +544,7 @@ public void onTimelineChanged(EventTime eventTime, int reason) {

@Override
public void onPositionDiscontinuity(EventTime eventTime, int reason) {

notifyOnInfo(ON_POSITION_DISCOUNTINUITY, reason);
}

@Override
Expand Down

0 comments on commit 0ededb6

Please sign in to comment.