{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/mediacapture-main/issues/403","repository_url":"https://api.github.com/repos/w3c/mediacapture-main","labels_url":"https://api.github.com/repos/w3c/mediacapture-main/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/w3c/mediacapture-main/issues/403/comments","events_url":"https://api.github.com/repos/w3c/mediacapture-main/issues/403/events","html_url":"https://github.com/w3c/mediacapture-main/issues/403","id":179896828,"number":403,"title":"Polling enumerateDevices potentially being a fingerprint.","user":{"login":"jan-ivar","id":3136226,"avatar_url":"https://avatars.githubusercontent.com/u/3136226?v=3","gravatar_id":"","url":"https://api.github.com/users/jan-ivar","html_url":"https://github.com/jan-ivar","followers_url":"https://api.github.com/users/jan-ivar/followers","following_url":"https://api.github.com/users/jan-ivar/following{/other_user}","gists_url":"https://api.github.com/users/jan-ivar/gists{/gist_id}","starred_url":"https://api.github.com/users/jan-ivar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jan-ivar/subscriptions","organizations_url":"https://api.github.com/users/jan-ivar/orgs","repos_url":"https://api.github.com/users/jan-ivar/repos","events_url":"https://api.github.com/users/jan-ivar/events{/privacy}","received_events_url":"https://api.github.com/users/jan-ivar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"adam-be","id":1233205,"avatar_url":"https://avatars.githubusercontent.com/u/1233205?v=3","gravatar_id":"","url":"https://api.github.com/users/adam-be","html_url":"https://github.com/adam-be","followers_url":"https://api.github.com/users/adam-be/followers","following_url":"https://api.github.com/users/adam-be/following{/other_user}","gists_url":"https://api.github.com/users/adam-be/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-be/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-be/subscriptions","organizations_url":"https://api.github.com/users/adam-be/orgs","repos_url":"https://api.github.com/users/adam-be/repos","events_url":"https://api.github.com/users/adam-be/events{/privacy}","received_events_url":"https://api.github.com/users/adam-be/received_events","type":"User","site_admin":false},"assignees":[{"login":"adam-be","id":1233205,"avatar_url":"https://avatars.githubusercontent.com/u/1233205?v=3","gravatar_id":"","url":"https://api.github.com/users/adam-be","html_url":"https://github.com/adam-be","followers_url":"https://api.github.com/users/adam-be/followers","following_url":"https://api.github.com/users/adam-be/following{/other_user}","gists_url":"https://api.github.com/users/adam-be/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-be/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-be/subscriptions","organizations_url":"https://api.github.com/users/adam-be/orgs","repos_url":"https://api.github.com/users/adam-be/repos","events_url":"https://api.github.com/users/adam-be/events{/privacy}","received_events_url":"https://api.github.com/users/adam-be/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-09-28T21:36:21Z","updated_at":"2016-10-05T19:30:31Z","closed_at":null,"body":"I raise this separately from https://github.com/w3c/mediacapture-main/issues/402#issuecomment-250270935 where @foolip discovered this, as the problem is separate, and we may wish to solve one or the other or both (if possible).\r\n\r\nThis is the same problem as with the devicechange event, except not remedied by https://github.com/w3c/mediacapture-main/issues/333.\r\n\r\nPolling enumerateDevices is also quite expensive, so we want to discourage people from polling it. One way to do that would be to remove any advantage over the devicechange event.\r\n\r\nOne way to solve this might be to put the same limitations on enumerateDevices as on the event (as I suggest in https://github.com/w3c/mediacapture-main/issues/402#issuecomment-250286510), though at the risk of people not trusting enumerateDevices. We could go one step further and have getUserMedia adhere to the old list of devices as well, that way all behavior is in sync so to speak, although such an illusion would shatter quickly once a USB device is removed, and getUserMedia fails with NotFoundError, even though enumerateDevices insists there is a device on the system.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/w3c/mediacapture-main/issues/comments/251774772","html_url":"https://github.com/w3c/mediacapture-main/issues/403#issuecomment-251774772","issue_url":"https://api.github.com/repos/w3c/mediacapture-main/issues/403","id":251774772,"user":{"login":"jan-ivar","id":3136226,"avatar_url":"https://avatars.githubusercontent.com/u/3136226?v=3","gravatar_id":"","url":"https://api.github.com/users/jan-ivar","html_url":"https://github.com/jan-ivar","followers_url":"https://api.github.com/users/jan-ivar/followers","following_url":"https://api.github.com/users/jan-ivar/following{/other_user}","gists_url":"https://api.github.com/users/jan-ivar/gists{/gist_id}","starred_url":"https://api.github.com/users/jan-ivar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jan-ivar/subscriptions","organizations_url":"https://api.github.com/users/jan-ivar/orgs","repos_url":"https://api.github.com/users/jan-ivar/repos","events_url":"https://api.github.com/users/jan-ivar/events{/privacy}","received_events_url":"https://api.github.com/users/jan-ivar/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T19:30:31Z","updated_at":"2016-10-05T19:30:31Z","body":"They do seem dependent, but I would leave this open until we have it covered."}}
{"actor":{"display_login":"jan-ivar"}}