Commit 5c1fdfb0 authored by sridhar's avatar sridhar
Browse files

Doc changes for retry count implementation

Doc changes for retry count implementation
parent 172954de
Loading
Loading
Loading
Loading
+13 −0
Changes for README.md: 13 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -269,6 +269,7 @@ var styles = StyleSheet.create({
* [id](#id)
* [ignoreSilentSwitch](#ignoresilentswitch)
* [maxBitRate](#maxbitrate)
* [failureRetryCount](#failureRetryCount)
* [muted](#muted)
* [paused](#paused)
* [playInBackground](#playinbackground)
@@ -475,6 +476,18 @@ maxBitRate={2000000} // 2 megabits

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
Controls whether the audio is muted
* **false (default)** - Don't mute audio