fix link
fix missing comma
support automatic min buffer length setup
use some heuristics based on bandwidth and time to dl last segment to compute its value
more testing needed
related to https://github.com/mangui/HLSprovider/issues/158