Skip to content

Commit

Permalink
Rename failureRetryCount to minLoadRetryCount
Browse files Browse the repository at this point in the history
  • Loading branch information
cobarx authored Feb 11, 2019
1 parent 35250fa commit e4763c9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class ReactExoplayerViewManager extends ViewGroupManager<ReactExoplayerVi
private static final String PROP_REPORT_BANDWIDTH = "reportBandwidth";
private static final String PROP_SEEK = "seek";
private static final String PROP_RATE = "rate";
private static final String PROP_FAILURE_RETRY_COUNT = "failureRetryCount";
private static final String PROP_MIN_LOAD_RETRY_COUNT = "minLoadRetryCount";
private static final String PROP_MAXIMUM_BIT_RATE = "maxBitRate";
private static final String PROP_PLAY_IN_BACKGROUND = "playInBackground";
private static final String PROP_DISABLE_FOCUS = "disableFocus";
Expand Down Expand Up @@ -231,9 +231,9 @@ public void setMaxBitRate(final ReactExoplayerView videoView, final int maxBitRa
videoView.setMaxBitRateModifier(maxBitRate);
}

@ReactProp(name = PROP_FAILURE_RETRY_COUNT)
public void failureRetryCount(final ReactExoplayerView videoView, final int failureRetryCount) {
videoView.setfailureRetryCountModifier(failureRetryCount);
@ReactProp(name = PROP_MIN_LOAD_RETRY_COUNT)
public void minLoadRetryCount(final ReactExoplayerView videoView, final int minLoadRetryCount) {
videoView.setMinLoadRetryCountModifier(minLoadRetryCount);
}

@ReactProp(name = PROP_PLAY_IN_BACKGROUND, defaultBoolean = false)
Expand Down

0 comments on commit e4763c9

Please sign in to comment.