{"action":"created","issue":{"url":"https://api.github.com/repos/andyet/SimpleWebRTC/issues/520","repository_url":"https://api.github.com/repos/andyet/SimpleWebRTC","labels_url":"https://api.github.com/repos/andyet/SimpleWebRTC/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/andyet/SimpleWebRTC/issues/520/comments","events_url":"https://api.github.com/repos/andyet/SimpleWebRTC/issues/520/events","html_url":"https://github.com/andyet/SimpleWebRTC/issues/520","id":197960659,"number":520,"title":"how to use sendDirectlyToAll","user":{"login":"tianhaoz95","id":16887772,"avatar_url":"https://avatars.githubusercontent.com/u/16887772?v=3","gravatar_id":"","url":"https://api.github.com/users/tianhaoz95","html_url":"https://github.com/tianhaoz95","followers_url":"https://api.github.com/users/tianhaoz95/followers","following_url":"https://api.github.com/users/tianhaoz95/following{/other_user}","gists_url":"https://api.github.com/users/tianhaoz95/gists{/gist_id}","starred_url":"https://api.github.com/users/tianhaoz95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tianhaoz95/subscriptions","organizations_url":"https://api.github.com/users/tianhaoz95/orgs","repos_url":"https://api.github.com/users/tianhaoz95/repos","events_url":"https://api.github.com/users/tianhaoz95/events{/privacy}","received_events_url":"https://api.github.com/users/tianhaoz95/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-29T06:33:13Z","updated_at":"2016-12-29T08:10:45Z","closed_at":null,"body":"I tried to use it this way:\r\n\r\ncomponentDidMount() {\r\n    this.webrtc.on('chat', function (content) {\r\n      console.log(content.type);\r\n    });\r\n}\r\n\r\nhandleSendMessage() {\r\n    this.webrtc.sendDirectlyToAll('chat', 'message', {messageBody: 'Hello World!'})\r\n    console.log(\"message sent\");\r\n  }\r\n\r\nand I couldn't receive anything on the other side. Any idea?"},"comment":{"url":"https://api.github.com/repos/andyet/SimpleWebRTC/issues/comments/269595676","html_url":"https://github.com/andyet/SimpleWebRTC/issues/520#issuecomment-269595676","issue_url":"https://api.github.com/repos/andyet/SimpleWebRTC/issues/520","id":269595676,"user":{"login":"fippo","id":289731,"avatar_url":"https://avatars.githubusercontent.com/u/289731?v=3","gravatar_id":"","url":"https://api.github.com/users/fippo","html_url":"https://github.com/fippo","followers_url":"https://api.github.com/users/fippo/followers","following_url":"https://api.github.com/users/fippo/following{/other_user}","gists_url":"https://api.github.com/users/fippo/gists{/gist_id}","starred_url":"https://api.github.com/users/fippo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fippo/subscriptions","organizations_url":"https://api.github.com/users/fippo/orgs","repos_url":"https://api.github.com/users/fippo/repos","events_url":"https://api.github.com/users/fippo/events{/privacy}","received_events_url":"https://api.github.com/users/fippo/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T08:10:45Z","updated_at":"2016-12-29T08:10:45Z","body":"listen to .on('channelMessage')"}}
{"actor":{"display_login":"fippo"}}