steveseguin / vdo.ninja

VDO.Ninja is a powerful tool that lets you bring remote video feeds into OBS or other studio software via WebRTC.
https://vdo.ninja
Other
2.74k stars 753 forks source link

vdo ninja is not accessible without VPN #970

Open Ali2htd opened 2 years ago

Ali2htd commented 2 years ago

Hello i just ran a copy of vdo ninja on my own host on https://videochat.calima-studio.ir

it's installed properly without any issue but when i want to use it this error appear and it's not work

image

but when i use a vpn when i create a room and user use vpn to share his camera it's work properly and it's ok What has caused this problem?

i live in iran . even when i use an Iranian server this error still appear . may be it's ok outside of iran. i don't know What has caused this problem?

can any one help me?

steveseguin commented 2 years ago

Does it work if you add &proxy to the URL?

For example: https://vdo.ninja/?proxy or https://videochat.calima-studio.ir/?proxy

Does vdo.ninja itself normally work for you? If its just your website that's the issue, you might be blocking third-party domains. Some websites can be setup with aggressive CORS rules, etc.

If vdo.ninja itself doesn't load/work for you, then you're blocked from accessing Google servers I guess.

Adding &proxy to the URL has the connection go thru Cloudflare instead of Google directly, which might not be blocked. This is a simple solution, hopefully, but it may still also be blocked considering that you're in Iran.

By default, a private vdo.ninja deployment still requires a handshake server; that's wss.vdo.ninja I think.

You can install your own hand shake server if the public one isn't accessible for you, with details of that here: https://github.com/steveseguin/vdo.ninja/blob/master/install.md#internet-free-deployments

If there's a particular cloud service provided that isn't blocked for you, that's accessible to me, let me know and maybe I can host a copy there.

-

Ali2htd commented 2 years ago

I used & proxy url but problem is still remain Also Vdo.ninja is not accessible for me and show me same error

Ali2htd commented 2 years ago

Hello again I noticed that VDO Ninja uses WEBRTC protocol and this protocol uses 1935 port

I also noticed that some similar services which is based on WEBRTC are not accessible in Iran (such as Big Blue Bouton, which is experiencing disruption). So I assume that this happened by blocking 1935 port Is it possible to use another port instead of 1935 in VDO Ninja and install it on a personal server and domain? Can You help me?

alidooi23rtf8i2 commented 2 years ago

it solved by running a excuse websocket server