{"action":"opened","issue":{"url":"https://api.github.com/repos/feross/simple-peer/issues/50","labels_url":"https://api.github.com/repos/feross/simple-peer/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/feross/simple-peer/issues/50/comments","events_url":"https://api.github.com/repos/feross/simple-peer/issues/50/events","html_url":"https://github.com/feross/simple-peer/issues/50","id":120594827,"number":50,"title":"expose addStream on prototype","user":{"login":"contra","id":425716,"avatar_url":"https://avatars.githubusercontent.com/u/425716?v=3","gravatar_id":"","url":"https://api.github.com/users/contra","html_url":"https://github.com/contra","followers_url":"https://api.github.com/users/contra/followers","following_url":"https://api.github.com/users/contra/following{/other_user}","gists_url":"https://api.github.com/users/contra/gists{/gist_id}","starred_url":"https://api.github.com/users/contra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contra/subscriptions","organizations_url":"https://api.github.com/users/contra/orgs","repos_url":"https://api.github.com/users/contra/repos","events_url":"https://api.github.com/users/contra/events{/privacy}","received_events_url":"https://api.github.com/users/contra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-05T23:12:00Z","updated_at":"2015-12-05T23:12:00Z","closed_at":null,"body":"right now you can only specify the stream in the constructor\r\n\r\nyou should be able to do it lazily after the connection has been opened, that way you can start the connection process as soon as possible instead of handling camera access and connection in serious"}}