{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/mediasession/issues/111","labels_url":"https://api.github.com/repos/whatwg/mediasession/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/mediasession/issues/111/comments","events_url":"https://api.github.com/repos/whatwg/mediasession/issues/111/events","html_url":"https://github.com/whatwg/mediasession/pull/111","id":107702198,"number":111,"title":"Add MediaSession.activate()","user":{"login":"foolip","id":498917,"avatar_url":"https://avatars.githubusercontent.com/u/498917?v=3","gravatar_id":"","url":"https://api.github.com/users/foolip","html_url":"https://github.com/foolip","followers_url":"https://api.github.com/users/foolip/followers","following_url":"https://api.github.com/users/foolip/following{/other_user}","gists_url":"https://api.github.com/users/foolip/gists{/gist_id}","starred_url":"https://api.github.com/users/foolip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foolip/subscriptions","organizations_url":"https://api.github.com/users/foolip/orgs","repos_url":"https://api.github.com/users/foolip/repos","events_url":"https://api.github.com/users/foolip/events{/privacy}","received_events_url":"https://api.github.com/users/foolip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"doomdavve","id":1026687,"avatar_url":"https://avatars.githubusercontent.com/u/1026687?v=3","gravatar_id":"","url":"https://api.github.com/users/doomdavve","html_url":"https://github.com/doomdavve","followers_url":"https://api.github.com/users/doomdavve/followers","following_url":"https://api.github.com/users/doomdavve/following{/other_user}","gists_url":"https://api.github.com/users/doomdavve/gists{/gist_id}","starred_url":"https://api.github.com/users/doomdavve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doomdavve/subscriptions","organizations_url":"https://api.github.com/users/doomdavve/orgs","repos_url":"https://api.github.com/users/doomdavve/repos","events_url":"https://api.github.com/users/doomdavve/events{/privacy}","received_events_url":"https://api.github.com/users/doomdavve/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-09-22T12:12:09Z","updated_at":"2015-09-22T12:29:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/whatwg/mediasession/pulls/111","html_url":"https://github.com/whatwg/mediasession/pull/111","diff_url":"https://github.com/whatwg/mediasession/pull/111.diff","patch_url":"https://github.com/whatwg/mediasession/pull/111.patch"},"body":"Also:\r\n * Let MediaSession.deactivate() return a promise.\r\n * Drop implicit activation and decativation for AudioContext.\r\n\r\nFixes https://github.com/whatwg/mediasession/issues/50"},"comment":{"url":"https://api.github.com/repos/whatwg/mediasession/issues/comments/142273218","html_url":"https://github.com/whatwg/mediasession/pull/111#issuecomment-142273218","issue_url":"https://api.github.com/repos/whatwg/mediasession/issues/111","id":142273218,"user":{"login":"foolip","id":498917,"avatar_url":"https://avatars.githubusercontent.com/u/498917?v=3","gravatar_id":"","url":"https://api.github.com/users/foolip","html_url":"https://github.com/foolip","followers_url":"https://api.github.com/users/foolip/followers","following_url":"https://api.github.com/users/foolip/following{/other_user}","gists_url":"https://api.github.com/users/foolip/gists{/gist_id}","starred_url":"https://api.github.com/users/foolip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foolip/subscriptions","organizations_url":"https://api.github.com/users/foolip/orgs","repos_url":"https://api.github.com/users/foolip/repos","events_url":"https://api.github.com/users/foolip/events{/privacy}","received_events_url":"https://api.github.com/users/foolip/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T12:29:22Z","updated_at":"2015-09-22T12:29:22Z","body":"The reason for \"Drop implicit activation and decativation for AudioContext\" is that it does not appear (to me) to add anything really valuable at this time, as you always have to be using scripts anyway, and the extra `activate()` step after assigning `context.session` doesn't seem very burdensome.\r\n\r\nDepending on what the default behavior of Web Audio will be, it's possible that we'll need to revive implicit activation, but even then implicit deactivation when the audio context stops may not be necessary. (Needs implementation experience.)"}}