GithubHelp home page GithubHelp logo

Comments (5)

dmitryos avatar dmitryos commented on June 11, 2024

One can use a query string parameters to provide testing swrvers. If we test already configured servers in the system then probably we don't want to expose them on the result page if someone opens this pageb

from mirotalk.

plague-doctor avatar plague-doctor commented on June 11, 2024

Agreed. Those creds/servers should be obfuscated, but still, I would like to check my own configuration.

from mirotalk.

dmitryos avatar dmitryos commented on June 11, 2024

https://docs.mirotalk.com/coturn/installation/

Bottom section has the way to test your swrvers if it helps...

from mirotalk.

plague-doctor avatar plague-doctor commented on June 11, 2024

Of course there is. It is not a problem that one cannot find the information or the way to verify it by different means. The problem is, that is it very confusing when one tries to verify connection to the ICE servers and suddenly sees completely different configuration...
I just opened .../test and it shows something I have not configured. It took me a while to figure out it was just a fake data.

from mirotalk.

miroslavpejic85 avatar miroslavpejic85 commented on June 11, 2024

Hello @plague-doctor,

For illustrative purposes, the Turn demo server credentials have been directly embedded in the test page, featuring a predefined monthly limit of 50GB. However, as @dmitryos wisely points out, it is strongly discouraged to expose your personal Turn username and password through the MiroTalk P2P URL of your instance at:

https://your-domain-name/test

To test your Turn server without exposing your credentials, you can use the Query URL as specified in the documentation:

https://docs.mirotalk.com/coturn/installation/#test


# Default listening port

https://your-domain-name/test?iceServers=[{"urls":"stun:coturn.mydomain.tld:3478"},{"urls":"turn:coturn.mydomain.tld:3478","username":"your.username","credential":"your.password"}]

# TLS listening port

https://your-domain-name/test?iceServers=[{"urls":"stun:coturn.mydomain.tld:5349"},{"urls":"turn:coturn.mydomain.tld:5349","username":"your.username","credential":"your.password"}]

For instance, you can use the following test URL (replace with your own credentials):

https://p2p.mirotalk.com/test?iceServers=[{"urls":"stun:stun.l.google.com:19302"},{"urls":"turn:a.relay.metered.ca:443","username":"your.username","credential":"your-password"}]

Replace p2p.mirotalk.com with your-domain-name

For any future questions or discussions, let's hop over to the official forum instead. It's a great space for all of us to chat before diving into things here. Just to clarify, this isn't a bug, but more of a small misunderstanding about using the test page. Thanks a bunch for your understanding! 🙌

Wishing you all a fantastic weekend ahead!

Cheers,
Miroslav

from mirotalk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.