Skip to content

Commit 420d88d

Browse files
authored
Rename failureRetryCount to minLoadRetryCount
1 parent e4763c9 commit 420d88d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ var styles = StyleSheet.create({
259259
* [audioOnly](#audioonly)
260260
* [bufferConfig](#bufferconfig)
261261
* [controls](#controls)
262-
* [failureRetryCount](#failureRetryCount)
263262
* [filter](#filter)
264263
* [filterEnabled](#filterEnabled)
265264
* [fullscreen](#fullscreen)
@@ -270,6 +269,7 @@ var styles = StyleSheet.create({
270269
* [id](#id)
271270
* [ignoreSilentSwitch](#ignoresilentswitch)
272271
* [maxBitRate](#maxbitrate)
272+
* [minLoadRetryCount](#minLoadRetryCount)
273273
* [muted](#muted)
274274
* [paused](#paused)
275275
* [playInBackground](#playinbackground)
@@ -364,18 +364,6 @@ Controls are not available Android because the system does not provide a stock s
364364

365365
Platforms: iOS, react-native-dom
366366

367-
#### failureRetryCount
368-
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.
369-
370-
Default: 3. Retry 3 times.
371-
372-
Example:
373-
```
374-
failureRetryCount={5} // retry 5 times
375-
```
376-
377-
Platforms: Android ExoPlayer
378-
379367
#### filter
380368
Add video filter
381369
* **FilterType.NONE (default)** - No Filter
@@ -488,6 +476,18 @@ maxBitRate={2000000} // 2 megabits
488476

489477
Platforms: Android ExoPlayer, iOS
490478

479+
#### minLoadRetryCount
480+
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.
481+
482+
Default: 3. Retry 3 times.
483+
484+
Example:
485+
```
486+
minLoadRetryCount={5} // retry 5 times
487+
```
488+
489+
Platforms: Android ExoPlayer
490+
491491
#### muted
492492
Controls whether the audio is muted
493493
* **false (default)** - Don't mute audio

0 commit comments

Comments
 (0)