{"action":"created","issue":{"url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1812","labels_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1812/labels{/name}","comments_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1812/comments","events_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1812/events","html_url":"https://github.com/Modernizr/Modernizr/issues/1812","id":123158947,"number":1812,"title":"New getUserMedia API","user":{"login":"myakura","id":413984,"avatar_url":"https://avatars.githubusercontent.com/u/413984?v=3","gravatar_id":"","url":"https://api.github.com/users/myakura","html_url":"https://github.com/myakura","followers_url":"https://api.github.com/users/myakura/followers","following_url":"https://api.github.com/users/myakura/following{/other_user}","gists_url":"https://api.github.com/users/myakura/gists{/gist_id}","starred_url":"https://api.github.com/users/myakura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myakura/subscriptions","organizations_url":"https://api.github.com/users/myakura/orgs","repos_url":"https://api.github.com/users/myakura/repos","events_url":"https://api.github.com/users/myakura/events{/privacy}","received_events_url":"https://api.github.com/users/myakura/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-20T13:08:42Z","updated_at":"2015-12-20T18:20:28Z","closed_at":null,"body":"I'm working on [updating HTML5Rocks article on `getUserMedia`](https://github.com/html5rocks/www.html5rocks.com/issues/1417) to reflect changes made to the spec and implementations.\r\nThe article suggests feature detection using Modernizr, but [currently Modernizr doesn't support new API](https://github.com/Modernizr/Modernizr/blob/5e3f359bfc9aa511543ece60bd8a6ea8aa7defd3/feature-detects/webrtc/getusermedia.js). So I'm thinking about sending a PR :-)\r\n\r\nHow should I do? Adding feature detection of the new API to the current test doesn't sound good as the new API is now Promise-based and relocated to `navigator.mediaDevices.getUserMedia()`. So I'm thinking about adding a separate test targeting new API, but wondering what I should call it."},"comment":{"url":"https://api.github.com/repos/Modernizr/Modernizr/issues/comments/166142348","html_url":"https://github.com/Modernizr/Modernizr/issues/1812#issuecomment-166142348","issue_url":"https://api.github.com/repos/Modernizr/Modernizr/issues/1812","id":166142348,"user":{"login":"patrickkettner","id":465414,"avatar_url":"https://avatars.githubusercontent.com/u/465414?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickkettner","html_url":"https://github.com/patrickkettner","followers_url":"https://api.github.com/users/patrickkettner/followers","following_url":"https://api.github.com/users/patrickkettner/following{/other_user}","gists_url":"https://api.github.com/users/patrickkettner/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickkettner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickkettner/subscriptions","organizations_url":"https://api.github.com/users/patrickkettner/orgs","repos_url":"https://api.github.com/users/patrickkettner/repos","events_url":"https://api.github.com/users/patrickkettner/events{/privacy}","received_events_url":"https://api.github.com/users/patrickkettner/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T18:20:28Z","updated_at":"2015-12-20T18:20:28Z","body":"thanks for the idea!\r\nWhat are the changes in the spec and implementation?"}}