Video not appearing from external network

Video not appearing from external network

We built a server on the internal network with OnPremise.
Video works well between internal networks, but
Users who connect from an external network will not see the video.

The router is using iptime, is it a router problem?
I wonder what the problem is.

Also, what is the cause of your camera video stopping when you are alone in the room?

Hello @seungsun , what instructions did you follow to deploy?

Take into account that you may need to expose some ports in your router and configure them to enroute that traffic to your OpenVidu Server machine.
https://docs.openvidu.io/en/2.23.0/deployment/ce/on-premises/#1-prerequisites
Minimal ports for everything to work are 443/TCP, 3478/TCP and 3478/UDP.
40000-65535/TCP and 40000-65535/UDP are always recommended for users to directly connect to the media server without using TURN.

Also, what is the cause of your camera video stopping when you are alone in the room?

When you are alone? We do not have any movement recognition in OpenVidu

The allowed ports are:
TCP : 80
TCP : 443
UDP : 10000
TCP : 22
TCP : 5349
UDP : 3478
TCP : 3478
TCP : 4443 ← OpenVidu WebPage Port
TCP : 8081 ← Custom Page Port (Using…)

My guess is that the reason the camera freezes is the poor performance of the mobile device. Does it have any effect?

Freezing is severe on Galaxy Tab s6 lite.

Well, maybe, also it is important to configure the app in the mobile so if you turn off the screen the application can still run in the backround.

  1. Are you using OpenVidu CE?
  2. Did you deploy using these instructions?: On premises - OpenVidu Docs
  3. What is the error you are having when trying to reach OpenVidu externally?
  1. Yse. I use CE version.
  2. Yes.Built as described.
  3. There is no error message and the camera screen does not appear.

Can’t you see any error from web console?

Let’s try this:

  1. Open your app via public endpoint in firefox.
  2. Try to enter into a session.
  3. Open another tab in firefox with about:webrtc. You will see something like this:
  4. Does this iceServer URI of the previous image correspond to your public IP?

Yes. No error message is displayed.
Can the firewall of the external network block it?

Please, check also my previous message about firefox, just to be sure the turn server reachs your browser correctly.

As a result of checking the TURN server you mentioned in Firefox, the server’s public IP is correct.

Then, maybe is a firewall problem…

Check that at least ports 443/TCP (4443 if you are using that), 3478/UDP and 3478/TCP are reachable from the outside.

I’ll check it. thank you

1 Like