Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback freezes when seeked to very beginning #3146

Closed
5 tasks done
tomraut opened this issue Jan 7, 2020 · 12 comments
Closed
5 tasks done

Playback freezes when seeked to very beginning #3146

tomraut opened this issue Jan 7, 2020 · 12 comments
Assignees
Labels
Milestone

Comments

@tomraut
Copy link

tomraut commented Jan 7, 2020

Environment
Steps to reproduce

Start to play asset and after some time try to seek to very beginning on the timeline.

Observed behaviour

Initial playback of the asset starts just fine but if user then seeks back to very beginning, dash.js is not able to play stream from there unless user seeks a little bit back to forward.

Console output
[785048][BufferController][video] Buffered Range 1.782  -  1289.782  currentTime =  0 
breadcrumbs.js:64 [785050][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785050][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785050][DashHandler][video] Getting the next request at index: 644 
breadcrumbs.js:64 [785051][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1372000.dash 
breadcrumbs.js:64 [785055][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1372000.dash , Range: undefined 
breadcrumbs.js:64 [785056][BufferController][video] Buffered Range 1.782  -  1291.782  currentTime =  0 
breadcrumbs.js:64 [785058][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785058][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785058][DashHandler][video] Getting the next request at index: 645 
breadcrumbs.js:64 [785059][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1374000.dash 
breadcrumbs.js:64 [785063][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1374000.dash , Range: undefined 
breadcrumbs.js:64 [785064][BufferController][video] Buffered Range 1.782  -  1293.782  currentTime =  0 
breadcrumbs.js:64 [785066][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785066][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785066][DashHandler][video] Getting the next request at index: 646 
breadcrumbs.js:64 [785066][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1376000.dash 
breadcrumbs.js:64 [785071][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1376000.dash , Range: undefined 
breadcrumbs.js:64 [785072][BufferController][video] Buffered Range 1.782  -  1295.782  currentTime =  0 
breadcrumbs.js:64 [785073][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785074][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785074][DashHandler][video] Getting the next request at index: 647 
breadcrumbs.js:64 [785074][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1378000.dash 
breadcrumbs.js:64 [785078][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1378000.dash , Range: undefined 
breadcrumbs.js:64 [785079][BufferController][video] Buffered Range 1.782  -  1297.782  currentTime =  0 
breadcrumbs.js:64 [785081][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785081][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785082][DashHandler][video] Getting the next request at index: 648 
breadcrumbs.js:64 [785082][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1380000.dash 
breadcrumbs.js:64 [785086][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1380000.dash , Range: undefined 
breadcrumbs.js:64 [785088][BufferController][video] Buffered Range 1.782  -  1299.782  currentTime =  0 
breadcrumbs.js:64 [785089][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785089][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785090][DashHandler][video] Getting the next request at index: 649 
breadcrumbs.js:64 [785090][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1382000.dash 
breadcrumbs.js:64 [785094][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1382000.dash , Range: undefined 
breadcrumbs.js:64 [785095][BufferController][video] Buffered Range 1.782  -  1301.782  currentTime =  0 
breadcrumbs.js:64 [785097][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785097][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785097][DashHandler][video] Getting the next request at index: 650 
breadcrumbs.js:64 [785098][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1384000.dash 
breadcrumbs.js:64 [785102][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1384000.dash , Range: undefined 
breadcrumbs.js:64 [785104][BufferController][video] Buffered Range 1.782  -  1303.782  currentTime =  0 
breadcrumbs.js:64 [785105][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785105][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785106][DashHandler][video] Getting the next request at index: 651 
breadcrumbs.js:64 [785106][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1386000.dash 
breadcrumbs.js:64 [785110][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1386000.dash , Range: undefined 
breadcrumbs.js:64 [785111][BufferController][video] Buffered Range 1.782  -  1305.782  currentTime =  0 
breadcrumbs.js:64 [785113][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785113][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785114][DashHandler][video] Getting the next request at index: 652 
breadcrumbs.js:64 [785114][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1388000.dash 
breadcrumbs.js:64 [785119][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1388000.dash , Range: undefined 
breadcrumbs.js:64 [785120][BufferController][video] Buffered Range 1.782  -  1307.782  currentTime =  0 
breadcrumbs.js:64 [785121][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785122][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785122][DashHandler][video] Getting the next request at index: 653 
breadcrumbs.js:64 [785122][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1390000.dash 
breadcrumbs.js:64 [785127][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1390000.dash , Range: undefined 
breadcrumbs.js:64 [785128][BufferController][video] Buffered Range 1.782  -  1309.782  currentTime =  0 
breadcrumbs.js:64 [785129][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785130][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785130][DashHandler][video] Getting the next request at index: 654 
breadcrumbs.js:64 [785130][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1392000.dash 
breadcrumbs.js:64 [785134][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1392000.dash , Range: undefined 
breadcrumbs.js:64 [785135][BufferController][video] Buffered Range 1.782  -  1311.782  currentTime =  0 
breadcrumbs.js:64 [785137][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785137][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785137][DashHandler][video] Getting the next request at index: 655 
breadcrumbs.js:64 [785138][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1394000.dash 
breadcrumbs.js:64 [785142][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1394000.dash , Range: undefined 
breadcrumbs.js:64 [785143][BufferController][video] Buffered Range 1.782  -  1313.782  currentTime =  0 
breadcrumbs.js:64 [785145][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785145][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785146][DashHandler][video] Getting the next request at index: 656 
breadcrumbs.js:64 [785146][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1396000.dash 
breadcrumbs.js:64 [785150][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1396000.dash , Range: undefined 
breadcrumbs.js:64 [785151][BufferController][video] Buffered Range 1.782  -  1315.782  currentTime =  0 
breadcrumbs.js:64 [785153][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785153][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785154][DashHandler][video] Getting the next request at index: 657 
breadcrumbs.js:64 [785154][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1398000.dash 
breadcrumbs.js:64 [785159][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1398000.dash , Range: undefined 
breadcrumbs.js:64 [785161][BufferController][video] Buffered Range 1.782  -  1317.782  currentTime =  0 
breadcrumbs.js:64 [785162][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785162][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785163][DashHandler][video] Getting the next request at index: 658 
breadcrumbs.js:64 [785163][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1400000.dash 
breadcrumbs.js:64 [785168][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1400000.dash , Range: undefined 
breadcrumbs.js:64 [785168][BufferController][video] Buffered Range 1.782  -  1319.782  currentTime =  0 
breadcrumbs.js:64 [785170][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785170][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785171][DashHandler][video] Getting the next request at index: 659 
breadcrumbs.js:64 [785171][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1402000.dash 
breadcrumbs.js:64 [785176][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1402000.dash , Range: undefined 
breadcrumbs.js:64 [785177][BufferController][video] Buffered Range 1.782  -  1321.782  currentTime =  0 
breadcrumbs.js:64 [785179][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785179][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785179][DashHandler][video] Getting the next request at index: 660 
breadcrumbs.js:64 [785179][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1404000.dash 
breadcrumbs.js:64 [785183][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1404000.dash , Range: undefined 
breadcrumbs.js:64 [785184][BufferController][video] Buffered Range 1.782  -  1323.782  currentTime =  0 
breadcrumbs.js:64 [785186][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785186][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785186][DashHandler][video] Getting the next request at index: 661 
breadcrumbs.js:64 [785187][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1406000.dash 
breadcrumbs.js:64 [785191][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1406000.dash , Range: undefined 
breadcrumbs.js:64 [785192][BufferController][video] Buffered Range 1.782  -  1325.782  currentTime =  0 
breadcrumbs.js:64 [785194][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785194][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785194][DashHandler][video] Getting the next request at index: 662 
breadcrumbs.js:64 [785195][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1408000.dash 
breadcrumbs.js:64 [785199][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1408000.dash , Range: undefined 
breadcrumbs.js:64 [785200][BufferController][video] Buffered Range 1.782  -  1327.782  currentTime =  0 
breadcrumbs.js:64 [785201][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785202][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785202][DashHandler][video] Getting the next request at index: 663 
breadcrumbs.js:64 [785202][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1410000.dash 
breadcrumbs.js:64 [785211][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1410000.dash , Range: undefined 
breadcrumbs.js:64 [785212][BufferController][video] Buffered Range 1.782  -  1329.782  currentTime =  0 
breadcrumbs.js:64 [785214][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785214][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785215][DashHandler][video] Getting the next request at index: 664 
breadcrumbs.js:64 [785215][ScheduleController][video] Next fragment request url is https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1412000.dash 
breadcrumbs.js:64 [785220][ScheduleController][video] OnFragmentLoadingCompleted - Url: https://mtvdashvodcloud-a.akamaized.net/video/won/ismvol1/2019-12-09/Uutisaamu_(1184919_ISMUSPWV).ism/dash/Uutisaamu_(1184919_ISMUSPWV)-video=616000-1412000.dash , Range: undefined 
breadcrumbs.js:64 [785222][BufferController][video] Buffered Range 1.782  -  1331.782  currentTime =  0 
breadcrumbs.js:64 [785224][ThroughputRule] [video] requesting switch to index:  3 Average throughput 16194 kbps 
breadcrumbs.js:64 [785224][AbrController] [video] stay on 0/2 (buffer: 0) 
breadcrumbs.js:64 [785224][DashHandler][video] Getting the next request at index: 665 

I had reported this already when testing 3.0.0 (#3042) and it was closed as "fixed" back then but issue still exists in 3.0.1. I guess issue is caused by presentationTimeOffset having different value than video's first t:

<SegmentTemplate
        timescale="1000"
        presentationTimeOffset="82218"
        initialization="Uutisaamu_(1184919_ISMUSPWV)-$RepresentationID$.dash"
        media="Uutisaamu_(1184919_ISMUSPWV)-$RepresentationID$-$Time$.dash">
        <SegmentTimeline>
          <S t="84000" d="2000" r="1431" />
        </SegmentTimeline>
</SegmentTemplate>

@nicosang @epiclabsDASH can you please comment how fixes #3045 and #3118 (both mentioned in closed issue #3042 ) should've fixed this kind of behaviour?

@nicosang
Copy link
Contributor

nicosang commented Jan 7, 2020

Hi @tomraut ,

according to my comprehension, it's another issue....we have the same behavior but origin is different. In this one, audio buffer is not fully cleared when the user seeks to 0. Nevertheless, in playbackController, commonEarliestTime is reseted....without no new audio data to push, so the internal seek command to 1.782s is not done..... :-(

The question is why the audio buffer is not fully cleared.....

Nico

@dsilhavy
Copy link
Collaborator

We have to reopen this as the fix applied in #3149 introduced some regression for live playback. We have to find a different solution for the problem described in this issue

@dsilhavy dsilhavy added this to the 3.1.0 milestone Feb 11, 2020
@dsilhavy dsilhavy self-assigned this Feb 11, 2020
@dsilhavy
Copy link
Collaborator

@tomraut : To be sure. Do you seek back using the progressbar or do you seek using the the API oder the native video element (video.currentTime = 0)

@tomraut
Copy link
Author

tomraut commented Feb 11, 2020

@dsilhavy we have implemented our custom progressbar so all the seeking happens through API.

@dsilhavy
Copy link
Collaborator

I can only reproduce the problem when I manually set video.currentTime = 0:

var vid = document.querySelector('video') vid.currentTime = 0;

When I use the Mediaplayer.seek function (which is the correct way to seek) it works fine for me. Mediaplayer.seek triggers a reset of the earliest time. This on the other hand will trigger a recalculation of the commonEarliestTime using the onBytesAppended function.

@nicosang : Did you manage to reproduce it a different way?

@tomraut
Copy link
Author

tomraut commented Feb 11, 2020

@dsilhavy are you testing with 3.0.2 version? If so, then I guess it is fixed and that is way MediaPlayer.seek(0) works correctly. With 3.0.1 version it didn't work. We are using MediaPlayer.seek() in our custom timeline implementation.

@dsilhavy
Copy link
Collaborator

Tested here in the nightly build: http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html

There we had to remove the fix which was referenced in this issue as it introduced some regression as described above.

@dsilhavy dsilhavy modified the milestones: 3.1.0, 3.1.1 Mar 2, 2020
@dsilhavy dsilhavy modified the milestones: 3.1.0, 3.1.1 Apr 1, 2020
@dsilhavy dsilhavy modified the milestones: 3.1.1, 3.1.2 May 15, 2020
@dsilhavy
Copy link
Collaborator

@tomraut We applied a fix in #3307 can you please check if this solves the problem. It is already available in the nightly build:
http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html

@tomraut
Copy link
Author

tomraut commented Jun 24, 2020

@dsilhavy seems to work better now regarding seeking meaning that it no longer freezes. However, if suggestedPresentationDelay is set to for instance 4, playback begins with buffering for 2-6 seconds leaving stream eventually from -23s from liveEdge. Same seems to happen also when seeked back to live after first seeking back within DVRWindow. If I don't set suggestedPresentationDelay, things work smoothly and liveEdge is approx. at -16s.

@dsilhavy
Copy link
Collaborator

@tomraut Is this behavior deterministic? From my experience: In your manifest is no valid segment for a live delay of 4 seconds. So the player tries to find the request/segment closest to this live delay. At some point this might be 23 seconds in other cases it might be 16. Depending on what is available at the time the manifest is requested. I will try to check again as well.

@tomraut
Copy link
Author

tomraut commented Jun 24, 2020

@dsilhavy you are right, issue with SPD set to 4 is originated from our manifest. Thanks for pointing that out.

@dsilhavy
Copy link
Collaborator

Fixed in #3285 please reopen if any more problems occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants