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

Function without third party server/service #4

Open
Fastidious opened this issue Apr 9, 2019 · 4 comments
Open

Function without third party server/service #4

Fastidious opened this issue Apr 9, 2019 · 4 comments

Comments

@Fastidious
Copy link

Is there a way to run this, without relying on a third party server/service?

@Antonito
Copy link
Owner

Antonito commented Apr 9, 2019

By third party service, are you referring to the STUN server ?

If you're referring to the Go executable, one of my next goal is to embed it in a static HTML page (via WebAssembly), so it can be easier to use: https://github.com/Antonito/gfile/tree/master/_client/web

@Fastidious
Copy link
Author

@Antonito I was referring to the STUN server, yes. If a STUN server can't be avoided, how about adding a command line parameter to specify it? Something like --stun=stunserver.example.com:1932, for example.

@Antonito
Copy link
Owner

Antonito commented Apr 9, 2019

@Fastidious It's a good idea! This feature has actually been discussed here:
https://www.reddit.com/r/golang/comments/bap29y/gfile_a_webrtc_based_file_transfer_utility_in_go/ekd9rbi/
If I'm not mistaken, it is possible to avoid using a STUN server when the two clients are on the same local network.

I'll probably work on it later this week, or I'll gladly accept a PR 😃

@kirintwn
Copy link

I believed we still need a server for local network WebRTC connection.
Although it can be a simple self-hosted websocket server instead of third party STUN server.

References:
https://stackoverflow.com/questions/51870278/how-can-you-do-webrtc-over-a-local-network-with-no-internet-connection
https://stackoverflow.com/questions/30742431/webrtc-on-isolated-lan-without-ice-stun-turn-server

Antonito added a commit that referenced this issue Apr 13, 2019
Repository owner deleted a comment from tobarbaro Feb 10, 2024
Repository owner deleted a comment from tobarbaro Feb 10, 2024
Repository owner deleted a comment from tim-tepia Mar 18, 2024
@github-staff github-staff deleted a comment from thangtq-pionero Apr 26, 2024
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

3 participants