ConnectyCube / connectycube-reactnative-samples

Chat and Video Chat code samples for React Native, ConnectyCube
https://connectycube.com
Apache License 2.0
125 stars 111 forks source link

Opponent Video is not showing when connected to the VPN in both devices #116

Closed sapkotamadhusudan closed 3 years ago

sapkotamadhusudan commented 4 years ago

Hi, I'm using the ConnectyCube SDK to develop the communication application and i'm using my office VPN connection to work remotely. But when i try to work with ConnectyCube Video calling feature with VPN connection, opponent video is not loaded.

I've tried using this sample (RNVideoChat) and the issue still occurs. I've attached the logs of both of my device using this sample application (RNVideoChat).

Brand: Samsung Galaxy S8+ OS: Android 9

Log File

Brand: MI Redimi Note 7 Pro OS: Android 9

Log File

DaveLomber commented 4 years ago

In general - we do not have any VPN related restrictions, probably it's =more about some blocked ports etc

Could you please do couple tests for us about connectivity environment, this will help us analyze the situation

1

2

stun:turn.connectycube.com

turn:turn.connectycube.com:5349?transport=udp connectycube 4c29501ca9207b7fb9c4b4b6b04faeb1

turn:turn.connectycube.com:5349?transport=tcp connectycube 4c29501ca9207b7fb9c4b4b6b04faeb1

sapkotamadhusudan commented 4 years ago

@DaveLomber i've followed your instruction on my mobile device with VPN connectivity on. And the results are: Mobile_Debug_1

Mobile_Debug_0

Mobile_Debug_01

DaveLomber commented 4 years ago

Thanks for the reports provided

So seems ICE candidates can be gathered (which is also confirmed by logs provided)

But then, by some reason, ICE connection is failed when it tried to connect each other:

[Mon Aug 17 2020 18:19:47.200]  LOG      [VideoChat]: onIceConnectionStateCallback: failed

One more check please - does https://appr.tc work at your env?

sapkotamadhusudan commented 4 years ago

@DaveLomber Yes, https://appr.tc/ works at my env. And one more thing to add (idk it would be helpful or not). i did also tested the android-messenger-app from sample, It works while my VPN is on.

ccvlad commented 3 years ago

Closed. Please, create a new issue if the problem still exist.