{"action":"created","issue":{"url":"https://api.github.com/repos/HenrikJoreteg/SimpleWebRTC/issues/283","labels_url":"https://api.github.com/repos/HenrikJoreteg/SimpleWebRTC/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/HenrikJoreteg/SimpleWebRTC/issues/283/comments","events_url":"https://api.github.com/repos/HenrikJoreteg/SimpleWebRTC/issues/283/events","html_url":"https://github.com/HenrikJoreteg/SimpleWebRTC/issues/283","id":96370439,"number":283,"title":"channelMessage binary data","user":{"login":"charliegreen","id":4229630,"avatar_url":"https://avatars.githubusercontent.com/u/4229630?v=3","gravatar_id":"","url":"https://api.github.com/users/charliegreen","html_url":"https://github.com/charliegreen","followers_url":"https://api.github.com/users/charliegreen/followers","following_url":"https://api.github.com/users/charliegreen/following{/other_user}","gists_url":"https://api.github.com/users/charliegreen/gists{/gist_id}","starred_url":"https://api.github.com/users/charliegreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charliegreen/subscriptions","organizations_url":"https://api.github.com/users/charliegreen/orgs","repos_url":"https://api.github.com/users/charliegreen/repos","events_url":"https://api.github.com/users/charliegreen/events{/privacy}","received_events_url":"https://api.github.com/users/charliegreen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-21T17:20:06Z","updated_at":"2015-07-21T19:02:50Z","closed_at":null,"body":"Hello! Is it possible to send raw binary data along channelMessage data channels, and how can this be done the most efficiently? In particular, I'm trying to send a Uint8Array through, but it seems to be transformed into a normal JavaScript array before transmission. Thank you!"},"comment":{"url":"https://api.github.com/repos/HenrikJoreteg/SimpleWebRTC/issues/comments/123444608","html_url":"https://github.com/HenrikJoreteg/SimpleWebRTC/issues/283#issuecomment-123444608","issue_url":"https://api.github.com/repos/HenrikJoreteg/SimpleWebRTC/issues/283","id":123444608,"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":"2015-07-21T19:02:50Z","updated_at":"2015-07-21T19:02:50Z","body":"i think i know what happens... on the peer, this will try to json-decode things by default.\r\nYou need to override the .onmessage in the on('channelOpen') I think, similar to what https://github.com/HenrikJoreteg/SimpleWebRTC/blob/master/peer.js#L76-88 does"}}