{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/bbc/dash.js/pulls/10","id":40147337,"html_url":"https://github.com/bbc/dash.js/pull/10","diff_url":"https://github.com/bbc/dash.js/pull/10.diff","patch_url":"https://github.com/bbc/dash.js/pull/10.patch","issue_url":"https://api.github.com/repos/bbc/dash.js/issues/10","number":10,"state":"open","locked":false,"title":"Fix start time calculation when availabilityStartTime is in the future","user":{"login":"bbcrddave","id":5390145,"avatar_url":"https://avatars.githubusercontent.com/u/5390145?v=3","gravatar_id":"","url":"https://api.github.com/users/bbcrddave","html_url":"https://github.com/bbcrddave","followers_url":"https://api.github.com/users/bbcrddave/followers","following_url":"https://api.github.com/users/bbcrddave/following{/other_user}","gists_url":"https://api.github.com/users/bbcrddave/gists{/gist_id}","starred_url":"https://api.github.com/users/bbcrddave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbcrddave/subscriptions","organizations_url":"https://api.github.com/users/bbcrddave/orgs","repos_url":"https://api.github.com/users/bbcrddave/repos","events_url":"https://api.github.com/users/bbcrddave/events{/privacy}","received_events_url":"https://api.github.com/users/bbcrddave/received_events","type":"User","site_admin":false},"body":"1) Change default safety margin back from live edge to match the amount of segments available when starting to play at exactly availabilityStartTime.\r\n\r\n2) Ensure live edge start time can never be negative.\r\n\r\nThis is a short term fix as there are magic numbers scattered all over the place - a real fix needs to be found later.","created_at":"2015-07-16T16:17:13Z","updated_at":"2015-07-16T16:17:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bbc/dash.js/pulls/10/commits","review_comments_url":"https://api.github.com/repos/bbc/dash.js/pulls/10/comments","review_comment_url":"https://api.github.com/repos/bbc/dash.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bbc/dash.js/issues/10/comments","statuses_url":"https://api.github.com/repos/bbc/dash.js/statuses/5666f942529f51e44bc55f48540bc6aed4172c9c","head":{"label":"bbc:fix-ast-live-edge","ref":"fix-ast-live-edge","sha":"5666f942529f51e44bc55f48540bc6aed4172c9c","user":{"login":"bbc","id":828722,"avatar_url":"https://avatars.githubusercontent.com/u/828722?v=3","gravatar_id":"","url":"https://api.github.com/users/bbc","html_url":"https://github.com/bbc","followers_url":"https://api.github.com/users/bbc/followers","following_url":"https://api.github.com/users/bbc/following{/other_user}","gists_url":"https://api.github.com/users/bbc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbc/subscriptions","organizations_url":"https://api.github.com/users/bbc/orgs","repos_url":"https://api.github.com/users/bbc/repos","events_url":"https://api.github.com/users/bbc/events{/privacy}","received_events_url":"https://api.github.com/users/bbc/received_events","type":"Organization","site_admin":false},"repo":{"id":29970018,"name":"dash.js","full_name":"bbc/dash.js","owner":{"login":"bbc","id":828722,"avatar_url":"https://avatars.githubusercontent.com/u/828722?v=3","gravatar_id":"","url":"https://api.github.com/users/bbc","html_url":"https://github.com/bbc","followers_url":"https://api.github.com/users/bbc/followers","following_url":"https://api.github.com/users/bbc/following{/other_user}","gists_url":"https://api.github.com/users/bbc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbc/subscriptions","organizations_url":"https://api.github.com/users/bbc/orgs","repos_url":"https://api.github.com/users/bbc/repos","events_url":"https://api.github.com/users/bbc/events{/privacy}","received_events_url":"https://api.github.com/users/bbc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bbc/dash.js","description":"A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.","fork":true,"url":"https://api.github.com/repos/bbc/dash.js","forks_url":"https://api.github.com/repos/bbc/dash.js/forks","keys_url":"https://api.github.com/repos/bbc/dash.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bbc/dash.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bbc/dash.js/teams","hooks_url":"https://api.github.com/repos/bbc/dash.js/hooks","issue_events_url":"https://api.github.com/repos/bbc/dash.js/issues/events{/number}","events_url":"https://api.github.com/repos/bbc/dash.js/events","assignees_url":"https://api.github.com/repos/bbc/dash.js/assignees{/user}","branches_url":"https://api.github.com/repos/bbc/dash.js/branches{/branch}","tags_url":"https://api.github.com/repos/bbc/dash.js/tags","blobs_url":"https://api.github.com/repos/bbc/dash.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bbc/dash.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bbc/dash.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/bbc/dash.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bbc/dash.js/statuses/{sha}","languages_url":"https://api.github.com/repos/bbc/dash.js/languages","stargazers_url":"https://api.github.com/repos/bbc/dash.js/stargazers","contributors_url":"https://api.github.com/repos/bbc/dash.js/contributors","subscribers_url":"https://api.github.com/repos/bbc/dash.js/subscribers","subscription_url":"https://api.github.com/repos/bbc/dash.js/subscription","commits_url":"https://api.github.com/repos/bbc/dash.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/bbc/dash.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/bbc/dash.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/bbc/dash.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/bbc/dash.js/contents/{+path}","compare_url":"https://api.github.com/repos/bbc/dash.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bbc/dash.js/merges","archive_url":"https://api.github.com/repos/bbc/dash.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bbc/dash.js/downloads","issues_url":"https://api.github.com/repos/bbc/dash.js/issues{/number}","pulls_url":"https://api.github.com/repos/bbc/dash.js/pulls{/number}","milestones_url":"https://api.github.com/repos/bbc/dash.js/milestones{/number}","notifications_url":"https://api.github.com/repos/bbc/dash.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bbc/dash.js/labels{/name}","releases_url":"https://api.github.com/repos/bbc/dash.js/releases{/id}","created_at":"2015-01-28T14:02:06Z","updated_at":"2015-07-09T18:27:28Z","pushed_at":"2015-07-16T16:17:13Z","git_url":"git://github.com/bbc/dash.js.git","ssh_url":"git@github.com:bbc/dash.js.git","clone_url":"https://github.com/bbc/dash.js.git","svn_url":"https://github.com/bbc/dash.js","homepage":null,"size":13618,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"smp-v1.4"}},"base":{"label":"bbc:smp-v1.4","ref":"smp-v1.4","sha":"842451b959ad5ddb8eac8796983bc06cacdc6d15","user":{"login":"bbc","id":828722,"avatar_url":"https://avatars.githubusercontent.com/u/828722?v=3","gravatar_id":"","url":"https://api.github.com/users/bbc","html_url":"https://github.com/bbc","followers_url":"https://api.github.com/users/bbc/followers","following_url":"https://api.github.com/users/bbc/following{/other_user}","gists_url":"https://api.github.com/users/bbc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbc/subscriptions","organizations_url":"https://api.github.com/users/bbc/orgs","repos_url":"https://api.github.com/users/bbc/repos","events_url":"https://api.github.com/users/bbc/events{/privacy}","received_events_url":"https://api.github.com/users/bbc/received_events","type":"Organization","site_admin":false},"repo":{"id":29970018,"name":"dash.js","full_name":"bbc/dash.js","owner":{"login":"bbc","id":828722,"avatar_url":"https://avatars.githubusercontent.com/u/828722?v=3","gravatar_id":"","url":"https://api.github.com/users/bbc","html_url":"https://github.com/bbc","followers_url":"https://api.github.com/users/bbc/followers","following_url":"https://api.github.com/users/bbc/following{/other_user}","gists_url":"https://api.github.com/users/bbc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbc/subscriptions","organizations_url":"https://api.github.com/users/bbc/orgs","repos_url":"https://api.github.com/users/bbc/repos","events_url":"https://api.github.com/users/bbc/events{/privacy}","received_events_url":"https://api.github.com/users/bbc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bbc/dash.js","description":"A reference client implementation for the playback of MPEG DASH via Javascript and compliant browsers.","fork":true,"url":"https://api.github.com/repos/bbc/dash.js","forks_url":"https://api.github.com/repos/bbc/dash.js/forks","keys_url":"https://api.github.com/repos/bbc/dash.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bbc/dash.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bbc/dash.js/teams","hooks_url":"https://api.github.com/repos/bbc/dash.js/hooks","issue_events_url":"https://api.github.com/repos/bbc/dash.js/issues/events{/number}","events_url":"https://api.github.com/repos/bbc/dash.js/events","assignees_url":"https://api.github.com/repos/bbc/dash.js/assignees{/user}","branches_url":"https://api.github.com/repos/bbc/dash.js/branches{/branch}","tags_url":"https://api.github.com/repos/bbc/dash.js/tags","blobs_url":"https://api.github.com/repos/bbc/dash.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bbc/dash.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bbc/dash.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/bbc/dash.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bbc/dash.js/statuses/{sha}","languages_url":"https://api.github.com/repos/bbc/dash.js/languages","stargazers_url":"https://api.github.com/repos/bbc/dash.js/stargazers","contributors_url":"https://api.github.com/repos/bbc/dash.js/contributors","subscribers_url":"https://api.github.com/repos/bbc/dash.js/subscribers","subscription_url":"https://api.github.com/repos/bbc/dash.js/subscription","commits_url":"https://api.github.com/repos/bbc/dash.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/bbc/dash.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/bbc/dash.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/bbc/dash.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/bbc/dash.js/contents/{+path}","compare_url":"https://api.github.com/repos/bbc/dash.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bbc/dash.js/merges","archive_url":"https://api.github.com/repos/bbc/dash.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bbc/dash.js/downloads","issues_url":"https://api.github.com/repos/bbc/dash.js/issues{/number}","pulls_url":"https://api.github.com/repos/bbc/dash.js/pulls{/number}","milestones_url":"https://api.github.com/repos/bbc/dash.js/milestones{/number}","notifications_url":"https://api.github.com/repos/bbc/dash.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bbc/dash.js/labels{/name}","releases_url":"https://api.github.com/repos/bbc/dash.js/releases{/id}","created_at":"2015-01-28T14:02:06Z","updated_at":"2015-07-09T18:27:28Z","pushed_at":"2015-07-16T16:17:13Z","git_url":"git://github.com/bbc/dash.js.git","ssh_url":"git@github.com:bbc/dash.js.git","clone_url":"https://github.com/bbc/dash.js.git","svn_url":"https://github.com/bbc/dash.js","homepage":null,"size":13618,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"smp-v1.4"}},"_links":{"self":{"href":"https://api.github.com/repos/bbc/dash.js/pulls/10"},"html":{"href":"https://github.com/bbc/dash.js/pull/10"},"issue":{"href":"https://api.github.com/repos/bbc/dash.js/issues/10"},"comments":{"href":"https://api.github.com/repos/bbc/dash.js/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/bbc/dash.js/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/bbc/dash.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bbc/dash.js/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/bbc/dash.js/statuses/5666f942529f51e44bc55f48540bc6aed4172c9c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":3,"deletions":2,"changed_files":2}}