{"action":"created","issue":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/4579","repository_url":"https://api.github.com/repos/nwjs/nw.js","labels_url":"https://api.github.com/repos/nwjs/nw.js/issues/4579/labels{/name}","comments_url":"https://api.github.com/repos/nwjs/nw.js/issues/4579/comments","events_url":"https://api.github.com/repos/nwjs/nw.js/issues/4579/events","html_url":"https://github.com/nwjs/nw.js/issues/4579","id":141384630,"number":4579,"title":"Screen capture does not work in 0.13 rc3","user":{"login":"franchuk","id":4640504,"avatar_url":"https://avatars.githubusercontent.com/u/4640504?v=3","gravatar_id":"","url":"https://api.github.com/users/franchuk","html_url":"https://github.com/franchuk","followers_url":"https://api.github.com/users/franchuk/followers","following_url":"https://api.github.com/users/franchuk/following{/other_user}","gists_url":"https://api.github.com/users/franchuk/gists{/gist_id}","starred_url":"https://api.github.com/users/franchuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franchuk/subscriptions","organizations_url":"https://api.github.com/users/franchuk/orgs","repos_url":"https://api.github.com/users/franchuk/repos","events_url":"https://api.github.com/users/franchuk/events{/privacy}","received_events_url":"https://api.github.com/users/franchuk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nwjs/nw.js/labels/nw13","name":"nw13","color":"207de5"},{"url":"https://api.github.com/repos/nwjs/nw.js/labels/test-todo","name":"test-todo","color":"006b75"}],"state":"closed","locked":false,"assignee":{"login":"ghostoy","id":471928,"avatar_url":"https://avatars.githubusercontent.com/u/471928?v=3","gravatar_id":"","url":"https://api.github.com/users/ghostoy","html_url":"https://github.com/ghostoy","followers_url":"https://api.github.com/users/ghostoy/followers","following_url":"https://api.github.com/users/ghostoy/following{/other_user}","gists_url":"https://api.github.com/users/ghostoy/gists{/gist_id}","starred_url":"https://api.github.com/users/ghostoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghostoy/subscriptions","organizations_url":"https://api.github.com/users/ghostoy/orgs","repos_url":"https://api.github.com/users/ghostoy/repos","events_url":"https://api.github.com/users/ghostoy/events{/privacy}","received_events_url":"https://api.github.com/users/ghostoy/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2016-03-16T19:56:33Z","updated_at":"2016-03-30T01:20:27Z","closed_at":"2016-03-30T01:20:26Z","body":"After selecting the screen or window i always get this:\r\n failure NavigatorUserMediaError {name: \"InvalidStateError\", message: \"\", constraintName: \"\"}\r\n\r\n```\r\nnw.Screen.chooseDesktopMedia(\r\n        [\"window\",\"screen\"], function(streamId) {\r\n             var vid_constraint = {\r\n                  mandatory: {\r\n                    chromeMediaSource: 'desktop', \r\n                    chromeMediaSourceId: streamId, \r\n                    maxWidth: 1920, \r\n                    maxHeight: 1080,\r\n                    minFrameRate: 1,\r\n                    maxFrameRate: 5\r\n                  }, \r\n                  optional:[]\r\n                };\r\n                navigator.webkitGetUserMedia({audio:false,video: vid_constraint},\r\n                    function(stream){\r\n                        document.getElementById('video_1').src = URL.createObjectURL(stream);\r\n                        stream.onended = function() { console.log(\"Ended\"); };\r\n                    }, \r\n                    function(error){\r\n                        console.log('failure',error); \r\n                      // failure NavigatorUserMediaError {name: \"InvalidStateError\", message: \"\", constraintName: \"\"}\r\n                });\r\n    });\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/comments/203181893","html_url":"https://github.com/nwjs/nw.js/issues/4579#issuecomment-203181893","issue_url":"https://api.github.com/repos/nwjs/nw.js/issues/4579","id":203181893,"user":{"login":"ghostoy","id":471928,"avatar_url":"https://avatars.githubusercontent.com/u/471928?v=3","gravatar_id":"","url":"https://api.github.com/users/ghostoy","html_url":"https://github.com/ghostoy","followers_url":"https://api.github.com/users/ghostoy/followers","following_url":"https://api.github.com/users/ghostoy/following{/other_user}","gists_url":"https://api.github.com/users/ghostoy/gists{/gist_id}","starred_url":"https://api.github.com/users/ghostoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghostoy/subscriptions","organizations_url":"https://api.github.com/users/ghostoy/orgs","repos_url":"https://api.github.com/users/ghostoy/repos","events_url":"https://api.github.com/users/ghostoy/events{/privacy}","received_events_url":"https://api.github.com/users/ghostoy/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T01:20:26Z","updated_at":"2016-03-30T01:20:26Z","body":"This issue was fixed since 0.13.0-rc4."}}