From 5c1fdfb01a36d764c7595709215b838072adc99f Mon Sep 17 00:00:00 2001 From: sridhar Date: Thu, 24 Jan 2019 18:59:54 +0530 Subject: [PATCH] Doc changes for retry count implementation Doc changes for retry count implementation --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 05337141..5ba6418d 100644 --- a/README.md +++ b/README.md @@ -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