{"action":"opened","issue":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1318","repository_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js","labels_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1318/labels{/name}","comments_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1318/comments","events_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1318/events","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/1318","id":146933728,"number":1318,"title":"bufferToKeep and bufferToPrun logic","user":{"login":"kuznetcoff777","id":15265762,"avatar_url":"https://avatars.githubusercontent.com/u/15265762?v=3","gravatar_id":"","url":"https://api.github.com/users/kuznetcoff777","html_url":"https://github.com/kuznetcoff777","followers_url":"https://api.github.com/users/kuznetcoff777/followers","following_url":"https://api.github.com/users/kuznetcoff777/following{/other_user}","gists_url":"https://api.github.com/users/kuznetcoff777/gists{/gist_id}","starred_url":"https://api.github.com/users/kuznetcoff777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuznetcoff777/subscriptions","organizations_url":"https://api.github.com/users/kuznetcoff777/orgs","repos_url":"https://api.github.com/users/kuznetcoff777/repos","events_url":"https://api.github.com/users/kuznetcoff777/events{/privacy}","received_events_url":"https://api.github.com/users/kuznetcoff777/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-08T13:47:55Z","updated_at":"2016-04-08T13:47:55Z","closed_at":null,"body":"Hello! \r\n\r\nCan you explain bufferToKeep and bufferToPrun logic. I saw this scheme \r\n`0|-----------bufferToPrune-----------|-----bufferToKeep-----|currentTime|`\r\nBut to say the truth i dont get it if to look at it from VOD logic.\r\n\r\nAlso i noticed that whenever i changed that buffers (for example both of them to 60 seconds) i see that on a non top VOD bitrate player keeps  buffer about = DEFAULT_MIN_BUFFER_TIME + time of one video fragment (in my version DEFAULT_MIN_BUFFER_TIME=12 and  time of one video fragment =10) = 22 seconds\r\n\r\nP.s.Tested on 2.1.0 version."}}