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

DOUBT SIR!! [Ngrok] #25

Closed
LunaticCodeKing opened this issue Jun 3, 2021 · 4 comments
Closed

DOUBT SIR!! [Ngrok] #25

LunaticCodeKing opened this issue Jun 3, 2021 · 4 comments
Labels
question Further information is requested

Comments

@LunaticCodeKing
Copy link

why u r using ngrok...please explain?

@Jaideep25
Copy link
Contributor

Hello @LunaticCodeKing Welcome! @miroslavpejic85 uses ngrok to check whether the app works on other devices, locally, it's good for testing and if you want to host on your servr it's useful!

@miroslavpejic85
Copy link
Owner

miroslavpejic85 commented Jun 3, 2021

Hi @LunaticCodeKing 😉

You can use ngrok to exposing mirotalk to outside world directly from your local PC.
More details regarding ngrok you can found it here: https://ngrok.com/product
After you have created your account and saved your token in .env just enable this feature in this way:

NGROK_ENABLED = true
NGROK_AUTH_TOKEN = YourNgrokAuthToken

ref:https://github.com/miroslavpejic85/mirotalk#setup-turn-and-ngrok

When you start mirotalk npm start you can see in the console logs something like this

image

The generated link https .... open it in your browser and share the room link to whoever you want.
Without ngrok mirotlak started from your local PC, cannot be reached from the outside world. And you can only use it in your local network, by using the first link: http://localhost:3000

As @Jaideep25 said, you can use ngrok, to test mirotalk before releasing it on Heroku-Railway etc.

Hope we have resolved your doubts? 🙂

@miroslavpejic85 miroslavpejic85 added the question Further information is requested label Jun 3, 2021
@LunaticCodeKing
Copy link
Author

you are great...thank u so much!!!

@miroslavpejic85
Copy link
Owner

u welcome! 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants