{"action":"created","issue":{"url":"https://api.github.com/repos/serratus/quaggaJS/issues/114","repository_url":"https://api.github.com/repos/serratus/quaggaJS","labels_url":"https://api.github.com/repos/serratus/quaggaJS/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/serratus/quaggaJS/issues/114/comments","events_url":"https://api.github.com/repos/serratus/quaggaJS/issues/114/events","html_url":"https://github.com/serratus/quaggaJS/issues/114","id":160988471,"number":114,"title":"How to determine if device supports getMediaSources/aka live stream?","user":{"login":"sheam","id":1779211,"avatar_url":"https://avatars.githubusercontent.com/u/1779211?v=3","gravatar_id":"","url":"https://api.github.com/users/sheam","html_url":"https://github.com/sheam","followers_url":"https://api.github.com/users/sheam/followers","following_url":"https://api.github.com/users/sheam/following{/other_user}","gists_url":"https://api.github.com/users/sheam/gists{/gist_id}","starred_url":"https://api.github.com/users/sheam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheam/subscriptions","organizations_url":"https://api.github.com/users/sheam/orgs","repos_url":"https://api.github.com/users/sheam/repos","events_url":"https://api.github.com/users/sheam/events{/privacy}","received_events_url":"https://api.github.com/users/sheam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-17T22:46:15Z","updated_at":"2016-08-19T22:05:25Z","closed_at":null,"body":"Is there a way to detect if a device supports the live stream method? I would like to be able to detect this so that I can prove the static image functionality to those clients."},"comment":{"url":"https://api.github.com/repos/serratus/quaggaJS/issues/comments/241147243","html_url":"https://github.com/serratus/quaggaJS/issues/114#issuecomment-241147243","issue_url":"https://api.github.com/repos/serratus/quaggaJS/issues/114","id":241147243,"user":{"login":"nanoo-k","id":2301843,"avatar_url":"https://avatars.githubusercontent.com/u/2301843?v=3","gravatar_id":"","url":"https://api.github.com/users/nanoo-k","html_url":"https://github.com/nanoo-k","followers_url":"https://api.github.com/users/nanoo-k/followers","following_url":"https://api.github.com/users/nanoo-k/following{/other_user}","gists_url":"https://api.github.com/users/nanoo-k/gists{/gist_id}","starred_url":"https://api.github.com/users/nanoo-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanoo-k/subscriptions","organizations_url":"https://api.github.com/users/nanoo-k/orgs","repos_url":"https://api.github.com/users/nanoo-k/repos","events_url":"https://api.github.com/users/nanoo-k/events{/privacy}","received_events_url":"https://api.github.com/users/nanoo-k/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T22:05:25Z","updated_at":"2016-08-19T22:05:25Z","body":"From here: http://stackoverflow.com/questions/12885896/getusermedia-how-to-detect-if-the-device-actually-has-a-camera\r\n\r\n...it's suggested...\r\n\r\n> You can use MediaStreamTrack.getSources. This returns a list of video and audio devices connected to the PC. This does not require user permission.\r\n> \r\n> You can then pass the ID to getUserMedia to get the desired media device.\r\n\r\nI haven't tried it myself. Hope that helps."}}
{"actor":{"display_login":"nanoo-k"}}