{"action":"created","issue":{"url":"https://api.github.com/repos/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/986","repository_url":"https://api.github.com/repos/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-","labels_url":"https://api.github.com/repos/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/986/labels{/name}","comments_url":"https://api.github.com/repos/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/986/comments","events_url":"https://api.github.com/repos/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/986/events","html_url":"https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/986","id":151143329,"number":986,"title":"Chromecast support tracker","user":{"login":"MarshallOfSound","id":6634592,"avatar_url":"https://avatars.githubusercontent.com/u/6634592?v=3","gravatar_id":"","url":"https://api.github.com/users/MarshallOfSound","html_url":"https://github.com/MarshallOfSound","followers_url":"https://api.github.com/users/MarshallOfSound/followers","following_url":"https://api.github.com/users/MarshallOfSound/following{/other_user}","gists_url":"https://api.github.com/users/MarshallOfSound/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshallOfSound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshallOfSound/subscriptions","organizations_url":"https://api.github.com/users/MarshallOfSound/orgs","repos_url":"https://api.github.com/users/MarshallOfSound/repos","events_url":"https://api.github.com/users/MarshallOfSound/events{/privacy}","received_events_url":"https://api.github.com/users/MarshallOfSound/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/labels/Upstream","name":"Upstream","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-26T14:02:18Z","updated_at":"2016-04-28T02:58:36Z","closed_at":null,"body":"This is just so that I can maintain information around chromecast support progress.\r\n\r\n**Option 1**\r\n\r\n* [ ] Need to be able to capture a [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream) from an HTML5 Audio Element\r\n    * [ ] Depends on Chromes support of [captureStream()](https://w3c.github.io/mediacapture-fromelement/)\r\n* [ ] MediaStream will be piped into a `Response` object from an [express](https://www.npmjs.com/package/express) server that will be embedded in the renderer process.\r\n\r\n**Option 2**  \r\n*More thought needs to be put into this*\r\n\r\nWhat if we simply mocked out the existing chromecast API for electron using the [node cast](https://github.com/thibauts/node-castv2) npm module.  Inject the global chrome variables at runtime and mock it enough to receive the chromecast URL's"},"comment":{"url":"https://api.github.com/repos/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/comments/215296099","html_url":"https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/986#issuecomment-215296099","issue_url":"https://api.github.com/repos/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/986","id":215296099,"user":{"login":"MarshallOfSound","id":6634592,"avatar_url":"https://avatars.githubusercontent.com/u/6634592?v=3","gravatar_id":"","url":"https://api.github.com/users/MarshallOfSound","html_url":"https://github.com/MarshallOfSound","followers_url":"https://api.github.com/users/MarshallOfSound/followers","following_url":"https://api.github.com/users/MarshallOfSound/following{/other_user}","gists_url":"https://api.github.com/users/MarshallOfSound/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshallOfSound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshallOfSound/subscriptions","organizations_url":"https://api.github.com/users/MarshallOfSound/orgs","repos_url":"https://api.github.com/users/MarshallOfSound/repos","events_url":"https://api.github.com/users/MarshallOfSound/events{/privacy}","received_events_url":"https://api.github.com/users/MarshallOfSound/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T02:58:36Z","updated_at":"2016-04-28T02:58:36Z","body":"Yeah, we would have to mock out all of these methods\r\n\r\nhttps://developers.google.com/cast/docs/reference/chrome/\r\n\r\nIt's a big job and should probably be done in a separate project.  Probably `electron-chromecast`"}}