Doc changes for retry count implementation
Doc changes for retry count implementation
This commit is contained in:
parent
172954de5a
commit
5c1fdfb01a
13
README.md
13
README.md
@ -269,6 +269,7 @@ var styles = StyleSheet.create({
|
|||||||
* [id](#id)
|
* [id](#id)
|
||||||
* [ignoreSilentSwitch](#ignoresilentswitch)
|
* [ignoreSilentSwitch](#ignoresilentswitch)
|
||||||
* [maxBitRate](#maxbitrate)
|
* [maxBitRate](#maxbitrate)
|
||||||
|
* [failureRetryCount](#failureRetryCount)
|
||||||
* [muted](#muted)
|
* [muted](#muted)
|
||||||
* [paused](#paused)
|
* [paused](#paused)
|
||||||
* [playInBackground](#playinbackground)
|
* [playInBackground](#playinbackground)
|
||||||
@ -475,6 +476,18 @@ maxBitRate={2000000} // 2 megabits
|
|||||||
|
|
||||||
Platforms: Android ExoPlayer, iOS
|
Platforms: Android ExoPlayer, iOS
|
||||||
|
|
||||||
|
#### 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
|
||||||
|
|
||||||
#### 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