Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
figure out an elegant way to integrate / work with WebRTC #63
Mentioning this in https://unhosted.org/adventures/14/Peer-to-peer-communication.html:
Also putting this text here for reference:
The goals of Sockethub are to provide a generic API to messaging from unhosted web apps, that includes posting to someone elses instance. Consider for example, a webfinger record that has a sockethub entry along with it's remotestorage one:
Now, consider another users wants to get a hold of you. They have your sockethub endpoint, and the user address you register as when you connect to it.
With that information they could make an HTTP POST to sockethub, something like:
This is all hypothetical for now, but the idea is that if I'm online, with a WebRTC enabled app, I'd get your invitation for a WebRTC chat.