Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an example of how to use osc.js with WebRTC dataChannel #120

Open
vispo opened this issue May 11, 2018 · 1 comment
Open

Create an example of how to use osc.js with WebRTC dataChannel #120

vispo opened this issue May 11, 2018 · 1 comment

Comments

@vispo
Copy link

vispo commented May 11, 2018

In the osc.js documentation, it's mentioned that osc.js works with WebRTC, but there are no examples of it. WebRTC dataChannels are great for multi-player data exchange over the web. It would be great to have an example of OSC data exchange in two scenarios: two-way data exchange between web clients not running locally; and two-way data exchange between a web client (not running locally) and a local executable program. I would be willing to create this example, but I will need some help on how to do it, if it's possible.

@colinbdclark
Copy link
Owner

Hi @vispo, thanks for your comment! It might be a bit an ambiguous (my bad), but the documentation doesn't say that WebRTC transports are provided, only that the system is designed in such a way that you can bind it to transports as needed. The nice thing about the osc.js API is that the low-level functional API is available for nearly any use case, and the higher-level Transports (osc.Port objects) capture common use scenarios.

A example of two web clients communicating directly over WebRTC data channels without an intervening proxy server would be awesome! How can I help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants