{"action":"created","issue":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/126","labels_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/126/comments","events_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/126/events","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/126","id":28715721,"number":126,"title":"multi-period design issue","user":{"login":"kirkshoop","id":982716,"avatar_url":"https://avatars.githubusercontent.com/u/982716?v=3","gravatar_id":"","url":"https://api.github.com/users/kirkshoop","html_url":"https://github.com/kirkshoop","followers_url":"https://api.github.com/users/kirkshoop/followers","following_url":"https://api.github.com/users/kirkshoop/following{/other_user}","gists_url":"https://api.github.com/users/kirkshoop/gists{/gist_id}","starred_url":"https://api.github.com/users/kirkshoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirkshoop/subscriptions","organizations_url":"https://api.github.com/users/kirkshoop/orgs","repos_url":"https://api.github.com/users/kirkshoop/repos","events_url":"https://api.github.com/users/kirkshoop/events{/privacy}","received_events_url":"https://api.github.com/users/kirkshoop/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/labels/Enhancement","name":"Enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/labels/Pri-Critical","name":"Pri-Critical","color":"ff0000"}],"state":"open","locked":false,"assignee":{"login":"kirkshoop","id":982716,"avatar_url":"https://avatars.githubusercontent.com/u/982716?v=3","gravatar_id":"","url":"https://api.github.com/users/kirkshoop","html_url":"https://github.com/kirkshoop","followers_url":"https://api.github.com/users/kirkshoop/followers","following_url":"https://api.github.com/users/kirkshoop/following{/other_user}","gists_url":"https://api.github.com/users/kirkshoop/gists{/gist_id}","starred_url":"https://api.github.com/users/kirkshoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirkshoop/subscriptions","organizations_url":"https://api.github.com/users/kirkshoop/orgs","repos_url":"https://api.github.com/users/kirkshoop/repos","events_url":"https://api.github.com/users/kirkshoop/events{/privacy}","received_events_url":"https://api.github.com/users/kirkshoop/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/milestones/5","html_url":"https://github.com/Dash-Industry-Forum/dash.js/milestones/1.4%20Release","labels_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/milestones/5/labels","id":993796,"number":5,"title":"1.4 Release","description":"","creator":{"login":"wilaw","id":2762250,"avatar_url":"https://avatars.githubusercontent.com/u/2762250?v=3","gravatar_id":"","url":"https://api.github.com/users/wilaw","html_url":"https://github.com/wilaw","followers_url":"https://api.github.com/users/wilaw/followers","following_url":"https://api.github.com/users/wilaw/following{/other_user}","gists_url":"https://api.github.com/users/wilaw/gists{/gist_id}","starred_url":"https://api.github.com/users/wilaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilaw/subscriptions","organizations_url":"https://api.github.com/users/wilaw/orgs","repos_url":"https://api.github.com/users/wilaw/repos","events_url":"https://api.github.com/users/wilaw/events{/privacy}","received_events_url":"https://api.github.com/users/wilaw/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":12,"state":"open","created_at":"2015-02-24T17:58:46Z","updated_at":"2015-03-10T19:01:40Z","due_on":"2015-04-25T07:00:00Z","closed_at":null},"comments":11,"created_at":"2014-03-04T15:47:57Z","updated_at":"2015-03-11T09:04:40Z","closed_at":null,"body":"Seeking across periods causes bouncing and terminates the thumb drag. \r\n\r\nOne option is for each video element to only represent the presentation timeline for that period. A player that supports multi-period would then have to build their own player controls.\r\n\r\nAnother option is to explore using a separate SourceBuffer on the same video element for the next period. I think we tried that before and that createSourceBuffer would fail for additional buffers.\r\n"},"comment":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/comments/78226920","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/126#issuecomment-78226920","issue_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/126","id":78226920,"user":{"login":"KozhinM","id":1681697,"avatar_url":"https://avatars.githubusercontent.com/u/1681697?v=3","gravatar_id":"","url":"https://api.github.com/users/KozhinM","html_url":"https://github.com/KozhinM","followers_url":"https://api.github.com/users/KozhinM/followers","following_url":"https://api.github.com/users/KozhinM/following{/other_user}","gists_url":"https://api.github.com/users/KozhinM/gists{/gist_id}","starred_url":"https://api.github.com/users/KozhinM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KozhinM/subscriptions","organizations_url":"https://api.github.com/users/KozhinM/orgs","repos_url":"https://api.github.com/users/KozhinM/repos","events_url":"https://api.github.com/users/KozhinM/events{/privacy}","received_events_url":"https://api.github.com/users/KozhinM/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T09:04:40Z","updated_at":"2015-03-11T09:04:40Z","body":"@kirkshoop \r\n> I tried that with your test page and even after removing sourcebuffers no new buffers could be created on the existing Media Source.\r\n\r\nI am not talking about removing SourceBuffer from MediaSource. I meant that if we detach MediaSource from video element (e.g. by setting src attibute to null) this MediaSource \"resets\" so that we can attach it again and add new buffers. This is a quote from Approach 2:\r\n> If we switch to a new MediaSource then the old one will go to \"closed\" state and \"sourceBuffers\" property will be set to zero, i.e. we will lost all the buffered data after switch.\r\n\r\nInstead of switching to a new source I propose to set src to null and then set it back to the old one, which will become reusable again."}}