From 665017834c693af23d757e24572c546e1322b53a Mon Sep 17 00:00:00 2001 From: Jonty Usborne Date: Wed, 25 Jan 2017 11:04:38 +0000 Subject: [PATCH] Fix #1759 (regression) resume correctly after seek --- src/dash/DashHandler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dash/DashHandler.js b/src/dash/DashHandler.js index ca32087a4e..49f3b01f5e 100644 --- a/src/dash/DashHandler.js +++ b/src/dash/DashHandler.js @@ -352,8 +352,9 @@ function DashHandler(config) { updateSegments(representation); index = getIndexForSegments(time, representation, timeThreshold); - //Index may be -1 if getSegments needs to update. So after getSegments is called and updated then try to get index again. + //Index may be -1 if getSegments needs to update again. So after getSegments is called and updated then try to get index again. if (index < 0) { + updateSegments(representation); index = getIndexForSegments(time, representation, timeThreshold); }