{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/mediacapture-fromelement/issues/29","repository_url":"https://api.github.com/repos/w3c/mediacapture-fromelement","labels_url":"https://api.github.com/repos/w3c/mediacapture-fromelement/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/w3c/mediacapture-fromelement/issues/29/comments","events_url":"https://api.github.com/repos/w3c/mediacapture-fromelement/issues/29/events","html_url":"https://github.com/w3c/mediacapture-fromelement/issues/29","id":134537275,"number":29,"title":"When is the first frame pushed to the MediaStream for captureStream(0)?","user":{"login":"foolip","id":498917,"avatar_url":"https://avatars.githubusercontent.com/u/498917?v=3","gravatar_id":"","url":"https://api.github.com/users/foolip","html_url":"https://github.com/foolip","followers_url":"https://api.github.com/users/foolip/followers","following_url":"https://api.github.com/users/foolip/following{/other_user}","gists_url":"https://api.github.com/users/foolip/gists{/gist_id}","starred_url":"https://api.github.com/users/foolip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foolip/subscriptions","organizations_url":"https://api.github.com/users/foolip/orgs","repos_url":"https://api.github.com/users/foolip/repos","events_url":"https://api.github.com/users/foolip/events{/privacy}","received_events_url":"https://api.github.com/users/foolip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-18T10:19:43Z","updated_at":"2016-02-19T05:06:53Z","closed_at":null,"body":"Blink bug:\r\nhttps://code.google.com/p/chromium/issues/detail?id=587789\r\n\r\nSome ad-hoc tests:\r\nhttp://software.hixie.ch/utilities/js/live-dom-viewer/saved/3896\r\nhttp://software.hixie.ch/utilities/js/live-dom-viewer/saved/3897\r\n\r\nThe difference between the two is the order between `captureStream()` and `fillRect()`. Firefox and Chrome behave differently; regardless of the order Firefox gets the first frame and Chrome does not.\r\n\r\nThe spec says \"A new frame is requested from the canvas when `frameCaptureRequested` is true and the canvas is painted\" and that `frameCaptureRequested` is initially true, but doesn't define \"the canvas is painted\" precisely. It presumably has to do with draw commands on `CanvasRenderingContext2D` / `WebGLRenderingContext` and not painting of the canvas content on screen."},"comment":{"url":"https://api.github.com/repos/w3c/mediacapture-fromelement/issues/comments/186052727","html_url":"https://github.com/w3c/mediacapture-fromelement/issues/29#issuecomment-186052727","issue_url":"https://api.github.com/repos/w3c/mediacapture-fromelement/issues/29","id":186052727,"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":"2016-02-19T05:06:53Z","updated_at":"2016-02-19T05:06:53Z","body":"To be clear, it was assumed that this was a term of art, but clearly that isn't the case."}}