{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/mediacapture-fromelement/issues/7","labels_url":"https://api.github.com/repos/w3c/mediacapture-fromelement/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/w3c/mediacapture-fromelement/issues/7/comments","events_url":"https://api.github.com/repos/w3c/mediacapture-fromelement/issues/7/events","html_url":"https://github.com/w3c/mediacapture-fromelement/issues/7","id":58451290,"number":7,"title":"Go black/silent when the origin of a source element changes","user":{"login":"martinthomson","id":67641,"avatar_url":"https://avatars.githubusercontent.com/u/67641?v=3","gravatar_id":"","url":"https://api.github.com/users/martinthomson","html_url":"https://github.com/martinthomson","followers_url":"https://api.github.com/users/martinthomson/followers","following_url":"https://api.github.com/users/martinthomson/following{/other_user}","gists_url":"https://api.github.com/users/martinthomson/gists{/gist_id}","starred_url":"https://api.github.com/users/martinthomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinthomson/subscriptions","organizations_url":"https://api.github.com/users/martinthomson/orgs","repos_url":"https://api.github.com/users/martinthomson/repos","events_url":"https://api.github.com/users/martinthomson/events{/privacy}","received_events_url":"https://api.github.com/users/martinthomson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-21T09:06:16Z","updated_at":"2015-10-30T06:33:42Z","closed_at":"2015-10-30T06:33:42Z","body":"Conclusions from the WebRTC/MediaCapture discussions in Washington concluded that it was preferable to have streams produce silence/black when the origin of the source changed such that the page was not able to gain access to content.\r\n\r\nThis decision has been poorly captured in the spec, leading to what amounts to a huge security hole.\r\n\r\nAlso, this decision was made for media element capture, which can change origin readily.  It was also made to be consistent with media originating from `RTCPeerConnection`, which can also do the same.  On the other hand, the circumstances in which a canvas can become origin-clean are less easy to replicate.  We might conclude for canvas that terminating the stream is the right course of action."},"comment":{"url":"https://api.github.com/repos/w3c/mediacapture-fromelement/issues/comments/152442479","html_url":"https://github.com/w3c/mediacapture-fromelement/issues/7#issuecomment-152442479","issue_url":"https://api.github.com/repos/w3c/mediacapture-fromelement/issues/7","id":152442479,"user":{"login":"martinthomson","id":67641,"avatar_url":"https://avatars.githubusercontent.com/u/67641?v=3","gravatar_id":"","url":"https://api.github.com/users/martinthomson","html_url":"https://github.com/martinthomson","followers_url":"https://api.github.com/users/martinthomson/followers","following_url":"https://api.github.com/users/martinthomson/following{/other_user}","gists_url":"https://api.github.com/users/martinthomson/gists{/gist_id}","starred_url":"https://api.github.com/users/martinthomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinthomson/subscriptions","organizations_url":"https://api.github.com/users/martinthomson/orgs","repos_url":"https://api.github.com/users/martinthomson/repos","events_url":"https://api.github.com/users/martinthomson/events{/privacy}","received_events_url":"https://api.github.com/users/martinthomson/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T06:33:42Z","updated_at":"2015-10-30T06:33:42Z","body":"This is captured in the spec."}}