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

can i establish connection between two devices just sharing id manually without any server? #882

Open
ibalaji777 opened this issue Apr 4, 2022 · 3 comments

Comments

@ibalaji777
Copy link

is this possible in simple peer?

@Velua
Copy link

Velua commented Apr 17, 2022

Technically but you'd also wanna share ice servers as well which would be more of a pain, guess if you wrapped it all in one big JSON and copy and pasted a few times but wouldn't be good UX.

@felquis
Copy link

felquis commented May 11, 2022

I have even made a demonstration about this: it requires two devices with camera.

Demo: https://tbbc.app/mps

Once the connection is stablished the screen shows a green background and a ping. No server signaling. Like this comment if you enjoy it.

@jzombie
Copy link

jzombie commented Nov 3, 2022

I think the OP is referring to something like a static ID that two peers share and a connection is made that way.

If that's the correct assumption, this will be easier to use: https://peerjs.com/

Simple-peer can also be used in this fashion, but you'll have to build the functionality into your signaling, as simple-peer is just concerned with the transport.

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

No branches or pull requests

4 participants