Skip to content

Conversation

@jbenet
Copy link
Contributor

@jbenet jbenet commented Jan 27, 2013

These commits add support for the WebRTC DataChannel API.

This commit adds support for the WebRTC DataChannel API.
If available, it sends all chat messages through DataChannel.
If not, it falls back to using the websocket.
@jbenet
Copy link
Contributor Author

jbenet commented Jan 27, 2013

See webRTC-io/webrtc.io-client#24

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about these commas ending the hash. I would definitely prefer it normally, but I recall that they're not syntactically valid JS.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in af0231f.

FWIW, i think the whole codebase is pretty messy and could use cleanup + style fixing. I can help with this later on, as I will be using webrtc.io for another project.

@sarenji
Copy link
Member

sarenji commented Jan 29, 2013

Forgot to merge this as well. FWIW, I also agree regarding style.

sarenji added a commit that referenced this pull request Jan 29, 2013
@sarenji sarenji merged commit aa38365 into webRTC-io:master Jan 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants