From 91194edbc9a6352326a8bf00d390cf58419ff99c Mon Sep 17 00:00:00 2001 From: Hampton Maxwell Date: Fri, 3 Aug 2018 16:09:57 -0700 Subject: [PATCH] Clean up bufferConfig notes about when it needs to be applied --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a3880b6e..6e55f39c 100644 --- a/README.md +++ b/README.md @@ -266,8 +266,6 @@ Platforms: all #### bufferConfig Adjust the buffer settings. This prop takes an object with one or more of the properties listed below. -This prop can only be set when you are setting a new source, changing it after the media is loaded will cause it to restart. - Property | Type | Description --- | --- | --- minBufferMs | number | The default minimum duration of media that the player will attempt to ensure is buffered at all times, in milliseconds. @@ -275,6 +273,8 @@ maxBufferMs | number | The default maximum duration of media that the player wil bufferForPlaybackMs | number | The default duration of media that must be buffered for playback to start or resume following a user action such as a seek, in milliseconds. playbackAfterRebufferMs | number | The default duration of media that must be buffered for playback to resume after a rebuffer, in milliseconds. A rebuffer is defined to be caused by buffer depletion rather than a user action. +This prop should only be set when you are setting the source, changing it after the media is loaded will cause it to be reloaded. + Example with default values: ``` bufferConfig={{