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

Add API for checking whether a peer is connected through a relay server #334

Open
johanhelsing opened this issue Sep 22, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@johanhelsing
Copy link
Owner

I want this because I want to tell my players why their latency is bad.

It looks hairy, but doable. Not sure what the API will be.

@johanhelsing johanhelsing added the enhancement New feature or request label Sep 22, 2023
@simbleau
Copy link
Collaborator

simbleau commented Sep 22, 2023

I'm just curious, but why not just an API to negotiate ping to a specific peer?

Ideally without needing to negotiate the answer/offer first! I want to tell users the best servers (peers) by ping on a world list before they connect.

I currently do this with an HTTP call, which has overhead and isn't representative of p2p ping.

@johanhelsing
Copy link
Owner Author

Ideally, we'd have ping available through the same API, but not critical for me, as I already get it through ggrs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants