miroslavpejic85 / mirotalk

🚀 WebRTC - P2P - Simple, Secure, Fast Real-Time Video Conferences Up to 8k and 60fps, compatible with all browsers and platforms.
https://p2p.mirotalk.com
GNU Affero General Public License v3.0
3.03k stars 558 forks source link

Video Is Not Showing #30

Closed Harikishnan closed 3 years ago

Harikishnan commented 3 years ago

When I Am Connecting to The Same internet The Video Is Showing But When I Used Two Different Connections The Other Users Video Is In black Colour Only And Not Showing...

Please Help Mee

Jaideep25 commented 3 years ago

Hey @Harikishnan Welcome! Did you check your internet speed of both connections? If yes could you please tell what was it....

Jaideep25 commented 3 years ago

And could you press ctrl+shift+j and send a ss of both laptops? Thanks!

Harikishnan commented 3 years ago

it worked on localhost which is on the same device with a different tab and worked on the same Internet with two devices but not working on two different devices

Harikishnan commented 3 years ago

is any problem with hosting the server in Heroku app

Harikishnan commented 3 years ago

I checked according to you it's not working. I checked the same thing In mirortalk Heroku video chat link the same thing happening pls help me

Harikishnan commented 3 years ago

it's only working on mirrortalk railway app video chat link..

Harikishnan commented 3 years ago

Hey @Harikishnan Welcome! Did you check the internet speed of both connections? If yes could you please tell me what was it...

I checked my connection. it is connecting in mirotalk railway app chat link but not in Heroku video chat link

Jaideep25 commented 3 years ago

is any problem with hosting the server in Heroku app

I don't think so.... please press ctrl+shift+j and show me the logs....

miroslavpejic85 commented 3 years ago

Hi @Harikishnan, welcome! 😉 I didn't understand why you have problems on heroku (maybe a temporary problem on heroku service...) The code and the same deployed on both servers. You can also try to run some tests using ngrok directly from your PC. More details here: https://github.com/miroslavpejic85/mirotalk/issues/25 As @Jaideep25 said, to see mirotalk console logs on your PC devices, you can press ctrl+shift+j or F12 If you see some error related to this issue, you can report it here. Thanks to using mirotalk ❤️

Jaideep25 commented 3 years ago

When I Am Connecting to The Same internet The Video Is Showing But When I Used Two Different Connections The Other Users Video Is In black Colour Only And Not Showing... Please Help Mee

having the same issue any solution?

Can you show the logs please?

Jaideep25 commented 3 years ago

@miroslavpejic85 sir you can also edit messages? 😂😂 Hey @Viitservices this is the problem of RTCDataChannel... For more info see here

miroslavpejic85 commented 3 years ago

Ok by the logs, i understand where is the problem... Chat RTCDataChannel issue For some reason it isn't opened. I will try to understand what caused it. 👀 have 2 questions: 1) The devices involved is mobile? 2) And what browsers?

Thanks

Harikishnan commented 3 years ago

Ok by the logs, I understand where is the problem... Chat RTCDataChannel issue For some reason, it isn't opened. I will try to understand what caused it. have 2 questions:

  1. The devices involved are mobile?
  2. And what browsers?

Thanks

I'm Using Mobile And My Laptop Both Google Chrome

Harikishnan commented 3 years ago

This Error Also In mirotalk Heroku Deployed Link. When Opened In Same Internet Connection In Two Different Medium Is That Working But Different Internet Connection In Two Different Mediums. In The Video Section, It Is Full Dark. But The Name And Camera Off Image Is Shown And Cannot Send Chats Also!.. Hope You Find A Good Solution

Harikishnan commented 3 years ago

is there any other platform either than Heroku and railway

miroslavpejic85 commented 3 years ago

Hello, so it's not an actual mirotalk bug on heroku - railway right? Did this happen to you when you tried to deploy it on your heroku-railway?

If you use Heroku, remember to go in to your app settings and also add Reveal Config Vars:

HEROKU_ENVIRONMENT = prod
TURN_ENABLED = true
TURN_USERNAME = YourTurnUsername
TURN_PASSWORD = YourTurnPassword
TURN_URLS = YourTurnUrls

The Turn credential you can take it following this part: https://github.com/miroslavpejic85/mirotalk#setup-turn-and-ngrok In case you not want to use Turn, just change this part

TURN_ENABLED = false

The same for railway image

Regards

Jaideep25 commented 3 years ago

Hey @miroslavpejic85 i don't think you need to add vars for railway... for me it worked without doing that!

miroslavpejic85 commented 3 years ago

Hey @Jaideep25 Turn is not mandatory but recommended: https://webrtc.org/getting-started/turn-server

Jaideep25 commented 3 years ago

Oh okk... Thanks for the information!

miroslavpejic85 commented 3 years ago

u Welcome! So i can close this issue... 🙂