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

Some Trickle ICE related issues #4

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open

Conversation

areiter
Copy link

@areiter areiter commented Jul 16, 2015

Commit a5a3a78 removes bows and updates , as it's not compatible with node, everything else seems also to work with nodejs.

Sorry, there are also some other nodejs related changes incorporated.

Andreas Reiter added 5 commits July 16, 2015 08:57
Replace simple-peer ready event with connect event
Fingerupdate was triggered multiple times, as connect event was attached for each signalling message (offer, answer, candidates), still related to trickle ICE support
@daviddias
Copy link
Owner

Hi @areiter , thank you for showing up and contributing.

Could you explain me a bit more about "removing bows because it is not compatible with node"? webrtc-explorer was built to run on the browser.

self.events.emit('registered', {peerId: data.peerId});
}

ioc.emit('s-register', {});
ioc.emit('s-register', {'id' : peerId});
Copy link
Owner

Choose a reason for hiding this comment

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

right now, the Signalling Server pick the ID's, are you proposing to change that?

Copy link
Author

Choose a reason for hiding this comment

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

I have some modified requirements on the framework, one among is providing a way to give the signalling server a hint which id the client wants to have.
I think that's just one of the changes you should ignore ;-)
Maybe I should have made a seperate repository with these changes, sorry for that

@daviddias
Copy link
Owner

I see that your goal is to have WebRTC explorer working both in the browser and in Node.js? That's pretty cool.

Have you looked at the Signalling Server? It is the rendezvous point for WebRTC peers to connect between themselves - https://github.com/diasdavid/webrtc-explorer-signalling-server

@areiter
Copy link
Author

areiter commented Jul 17, 2015

I'm aware of the signalling server as an integral part of the system.
As you noticed several times, my goal is to have it running in node-js.
Your main goal is to support browsers, although maybe some of the changes are also relevant for you.

From my point-of-view, an ideal solution would be to have a single module, running in the browser and in the node environment.

@daviddias
Copy link
Owner

From my point-of-view, an ideal solution would be to have a single module, running in the browser and in the node environment.

I agree, and if we can work together on that, I'm all aboard. Nevertheless, I should inform you, that if you are looking for DHT for Node.js only, you probably don't want to use webrtc-explorer or webrtc at all, you could avoid all of the signalling stuff or even having to have several Data Channels open, since dealing a socket is way cheaper.

@daviddias
Copy link
Owner

I opened a issue of where to go next - #5

@areiter
Copy link
Author

areiter commented Jul 18, 2015

Browser <--> Node interoperability would be really nice :-)

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