{"action":"created","issue":{"url":"https://api.github.com/repos/mafintosh/webrtc-swarm/issues/2","labels_url":"https://api.github.com/repos/mafintosh/webrtc-swarm/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mafintosh/webrtc-swarm/issues/2/comments","events_url":"https://api.github.com/repos/mafintosh/webrtc-swarm/issues/2/events","html_url":"https://github.com/mafintosh/webrtc-swarm/issues/2","id":82705169,"number":2,"title":"Initial broadcast doesn't fire in browser","user":{"login":"uiureo","id":116057,"avatar_url":"https://avatars.githubusercontent.com/u/116057?v=3","gravatar_id":"","url":"https://api.github.com/users/uiureo","html_url":"https://github.com/uiureo","followers_url":"https://api.github.com/users/uiureo/followers","following_url":"https://api.github.com/users/uiureo/following{/other_user}","gists_url":"https://api.github.com/users/uiureo/gists{/gist_id}","starred_url":"https://api.github.com/users/uiureo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uiureo/subscriptions","organizations_url":"https://api.github.com/users/uiureo/orgs","repos_url":"https://api.github.com/users/uiureo/repos","events_url":"https://api.github.com/users/uiureo/events{/privacy}","received_events_url":"https://api.github.com/users/uiureo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-30T05:12:07Z","updated_at":"2015-07-20T10:36:41Z","closed_at":"2015-07-20T10:36:41Z","body":"I'm using this module with browserify in Chrome latest.\r\nI tried the example, but it didn't work.\r\n\r\nI've found `'open'` event doesn't fire from `hub.subscribe(me)`, so `connect()` doesn't trigger.\r\n\r\n```js\r\nhub.subscribe(me).once('open', connect).pipe(through.obj(function (data, enc, cb) {\r\n```\r\nhttps://github.com/mafintosh/webrtc-swarm/blob/master/index.js#L77\r\n\r\nMy current workaround is just use `setTimeout`.\r\n\r\n```js\r\nsetTimeout(connect, 0)\r\n\r\nhub.subscribe(me).pipe(through.obj(function (data, enc, cb) {\r\n```\r\n\r\nDo you have any idea about this issue?"},"comment":{"url":"https://api.github.com/repos/mafintosh/webrtc-swarm/issues/comments/122843542","html_url":"https://github.com/mafintosh/webrtc-swarm/issues/2#issuecomment-122843542","issue_url":"https://api.github.com/repos/mafintosh/webrtc-swarm/issues/2","id":122843542,"user":{"login":"uiureo","id":116057,"avatar_url":"https://avatars.githubusercontent.com/u/116057?v=3","gravatar_id":"","url":"https://api.github.com/users/uiureo","html_url":"https://github.com/uiureo","followers_url":"https://api.github.com/users/uiureo/followers","following_url":"https://api.github.com/users/uiureo/following{/other_user}","gists_url":"https://api.github.com/users/uiureo/gists{/gist_id}","starred_url":"https://api.github.com/users/uiureo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uiureo/subscriptions","organizations_url":"https://api.github.com/users/uiureo/orgs","repos_url":"https://api.github.com/users/uiureo/repos","events_url":"https://api.github.com/users/uiureo/events{/privacy}","received_events_url":"https://api.github.com/users/uiureo/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T10:36:41Z","updated_at":"2015-07-20T10:36:41Z","body":"It works! Thanks :)"}}