rawrtc / rawrtc-terminal-demo

A browser terminal that punches through NATs using the force of RAWRTC
BSD 2-Clause "Simplified" License
28 stars 9 forks source link

Why RawRTC and not SaltyRTC? #4

Closed rugk closed 7 years ago

rugk commented 7 years ago

Why do you use RAWRTC?

lgrahl commented 7 years ago

RAWRTC is an ORTC/WebRTC implementation whereas SaltyRTC is a signalling solution. They are not mutually exclusive. This demo does not use SaltyRTC because there is no SaltyRTC implementation in C.

Moreover, we are probably going to remove the WS-based signalling (which was a requirement for our studies) from this demo to make it as simple as possible. The result will be called copy & paste signalling which is also pretty secure. ;)

rugk commented 7 years ago

Copy and paste signalling?? So you must copy and paste as token or so to the other device?

And WS-based = web server based, right?

lgrahl commented 7 years ago

WS-based = WebSocket-based. Currently, this demo uses an extremely simple, insecure and brittle signalling over WebSocket. This will be removed as we don't want to require users to set up a signalling server, nor do we want to provide one permanently.

It is a demo application for our WebRTC/ORTC implementation. And as you probably know, WebRTC purposely does not specify how signalling is done. So, for a WebRTC/ORTC demo, copy & pasting the whole signalling data from one device to another (or on the same machine) is fine.

rugk commented 7 years ago

Ah, indeed. For a demo that's okay… :laughing:

Just sounds funny if you image a real use case… :smiley:

Globik commented 6 years ago

The same here. Why fd stdin?

Globik commented 6 years ago

@rugk not ok.

lgrahl commented 6 years ago

@Globik As explained dozens of times now in our Gitter channel, the demo uses both a WebSocket server and stdin for signalling. Both can be used. It is entirely optional which to choose and if you want to you can remove all the code related to stdin and it will still work. I kindly ask you to not dig up old issues for asking the same question again.