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 e4763c9 commit 420d88d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ var styles = StyleSheet.create({
* [audioOnly](#audioonly)
* [bufferConfig](#bufferconfig)
* [controls](#controls)
* [failureRetryCount](#failureRetryCount)
* [filter](#filter)
* [filterEnabled](#filterEnabled)
* [fullscreen](#fullscreen)
Expand All @@ -270,6 +269,7 @@ var styles = StyleSheet.create({
* [id](#id)
* [ignoreSilentSwitch](#ignoresilentswitch)
* [maxBitRate](#maxbitrate)
* [minLoadRetryCount](#minLoadRetryCount)
* [muted](#muted)
* [paused](#paused)
* [playInBackground](#playinbackground)
Expand Down Expand Up @@ -364,18 +364,6 @@ Controls are not available Android because the system does not provide a stock s

Platforms: iOS, react-native-dom

#### failureRetryCount
Sets the number of times the media play failures to be retried. Useful to recover from transient internet faiures. Recoverable failures are retried before reporting the error to the application.

Default: 3. Retry 3 times.

Example:
```
failureRetryCount={5} // retry 5 times
```

Platforms: Android ExoPlayer

#### filter
Add video filter
* **FilterType.NONE (default)** - No Filter
Expand Down Expand Up @@ -488,6 +476,18 @@ maxBitRate={2000000} // 2 megabits

Platforms: Android ExoPlayer, iOS

#### minLoadRetryCount
Sets the minimum number of times to retry loading data before failing and reporting an error to the application. Useful to recover from transient internet failures.

Default: 3. Retry 3 times.

Example:
```
minLoadRetryCount={5} // retry 5 times
```

Platforms: Android ExoPlayer

#### muted
Controls whether the audio is muted
* **false (default)** - Don't mute audio
Expand Down

0 comments on commit 420d88d

Please sign in to comment.