Rename failureRetryCount to minLoadRetryCount
This commit is contained in:
parent
e4763c9d10
commit
420d88d583
26
README.md
26
README.md
@ -259,7 +259,6 @@ var styles = StyleSheet.create({
|
|||||||
* [audioOnly](#audioonly)
|
* [audioOnly](#audioonly)
|
||||||
* [bufferConfig](#bufferconfig)
|
* [bufferConfig](#bufferconfig)
|
||||||
* [controls](#controls)
|
* [controls](#controls)
|
||||||
* [failureRetryCount](#failureRetryCount)
|
|
||||||
* [filter](#filter)
|
* [filter](#filter)
|
||||||
* [filterEnabled](#filterEnabled)
|
* [filterEnabled](#filterEnabled)
|
||||||
* [fullscreen](#fullscreen)
|
* [fullscreen](#fullscreen)
|
||||||
@ -270,6 +269,7 @@ var styles = StyleSheet.create({
|
|||||||
* [id](#id)
|
* [id](#id)
|
||||||
* [ignoreSilentSwitch](#ignoresilentswitch)
|
* [ignoreSilentSwitch](#ignoresilentswitch)
|
||||||
* [maxBitRate](#maxbitrate)
|
* [maxBitRate](#maxbitrate)
|
||||||
|
* [minLoadRetryCount](#minLoadRetryCount)
|
||||||
* [muted](#muted)
|
* [muted](#muted)
|
||||||
* [paused](#paused)
|
* [paused](#paused)
|
||||||
* [playInBackground](#playinbackground)
|
* [playInBackground](#playinbackground)
|
||||||
@ -364,18 +364,6 @@ Controls are not available Android because the system does not provide a stock s
|
|||||||
|
|
||||||
Platforms: iOS, react-native-dom
|
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
|
#### filter
|
||||||
Add video filter
|
Add video filter
|
||||||
* **FilterType.NONE (default)** - No Filter
|
* **FilterType.NONE (default)** - No Filter
|
||||||
@ -488,6 +476,18 @@ maxBitRate={2000000} // 2 megabits
|
|||||||
|
|
||||||
Platforms: Android ExoPlayer, iOS
|
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
|
#### muted
|
||||||
Controls whether the audio is muted
|
Controls whether the audio is muted
|
||||||
* **false (default)** - Don't mute audio
|
* **false (default)** - Don't mute audio
|
||||||
|
Loading…
Reference in New Issue
Block a user