{"action":"created","issue":{"url":"https://api.github.com/repos/webrtc/samples/issues/447","labels_url":"https://api.github.com/repos/webrtc/samples/issues/447/labels{/name}","comments_url":"https://api.github.com/repos/webrtc/samples/issues/447/comments","events_url":"https://api.github.com/repos/webrtc/samples/issues/447/events","html_url":"https://github.com/webrtc/samples/issues/447","id":55955887,"number":447,"title":"Sample page showing a failing gUM A+V request falling back to gUM audio-only request","user":{"login":"tednakamura","id":9001650,"avatar_url":"https://avatars.githubusercontent.com/u/9001650?v=3","gravatar_id":"","url":"https://api.github.com/users/tednakamura","html_url":"https://github.com/tednakamura","followers_url":"https://api.github.com/users/tednakamura/followers","following_url":"https://api.github.com/users/tednakamura/following{/other_user}","gists_url":"https://api.github.com/users/tednakamura/gists{/gist_id}","starred_url":"https://api.github.com/users/tednakamura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tednakamura/subscriptions","organizations_url":"https://api.github.com/users/tednakamura/orgs","repos_url":"https://api.github.com/users/tednakamura/repos","events_url":"https://api.github.com/users/tednakamura/events{/privacy}","received_events_url":"https://api.github.com/users/tednakamura/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jiayliu","id":7770539,"avatar_url":"https://avatars.githubusercontent.com/u/7770539?v=3","gravatar_id":"","url":"https://api.github.com/users/jiayliu","html_url":"https://github.com/jiayliu","followers_url":"https://api.github.com/users/jiayliu/followers","following_url":"https://api.github.com/users/jiayliu/following{/other_user}","gists_url":"https://api.github.com/users/jiayliu/gists{/gist_id}","starred_url":"https://api.github.com/users/jiayliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiayliu/subscriptions","organizations_url":"https://api.github.com/users/jiayliu/orgs","repos_url":"https://api.github.com/users/jiayliu/repos","events_url":"https://api.github.com/users/jiayliu/events{/privacy}","received_events_url":"https://api.github.com/users/jiayliu/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-01-29T20:59:05Z","updated_at":"2015-02-05T20:03:51Z","closed_at":null,"body":"http://w3c.github.io/mediacapture-main/#dom-mediadevices-getusermedia indicates that if all requested media types aren't available, gUM should return an error. This means it's an application's responsibility, rather than browser's responsibility, to detect that error and appropriately handle it in the gUM error callback. Could a sample app be written that does the following to showcase this behavior? The general workflow I'm imagining is:\r\n\r\n1) User with a microphone, but no camera, opens the page.\r\n2) The user clicks a button and the page makes an audio and video gUM request.\r\n3) That gUM request fails, and without any user intervention, the page then makes an audio-only gUM request.\r\n4) That audio-only gUM request succeeds. I don't have a preference for what should go in the success callback, but it would be nice to have some sort of visible or audible indicator of success."},"comment":{"url":"https://api.github.com/repos/webrtc/samples/issues/comments/73116292","html_url":"https://github.com/webrtc/samples/issues/447#issuecomment-73116292","issue_url":"https://api.github.com/repos/webrtc/samples/issues/447","id":73116292,"user":{"login":"jiayliu","id":7770539,"avatar_url":"https://avatars.githubusercontent.com/u/7770539?v=3","gravatar_id":"","url":"https://api.github.com/users/jiayliu","html_url":"https://github.com/jiayliu","followers_url":"https://api.github.com/users/jiayliu/followers","following_url":"https://api.github.com/users/jiayliu/following{/other_user}","gists_url":"https://api.github.com/users/jiayliu/gists{/gist_id}","starred_url":"https://api.github.com/users/jiayliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiayliu/subscriptions","organizations_url":"https://api.github.com/users/jiayliu/orgs","repos_url":"https://api.github.com/users/jiayliu/repos","events_url":"https://api.github.com/users/jiayliu/events{/privacy}","received_events_url":"https://api.github.com/users/jiayliu/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T20:03:51Z","updated_at":"2015-02-05T20:03:51Z","body":"Opened issue in apprtc repo. Should this one be closed?"}}