vdo.ninja icon indicating copy to clipboard operation
vdo.ninja copied to clipboard

Hosting it on localhost

Open hassan3kb opened this issue 2 years ago • 1 comments

Hi, Wondering if I could host it on localhost because it will increase the speed. But, it requires SSL.

I tried to make an express server with a self-signed certificate. I can now start the camera and access it via the browser. The browser warns that the site is not trusted, but I go with the warning.

I put the same URL in the OBS browser scene; it doesn't load anything, and I could not find a setting to disable certificate validation.

hassan3kb avatar Dec 10 '22 15:12 hassan3kb

Hosting VDO.Ninja locally will not increase the speed of video, as it's already peer to peer based. Sometimes you might see a benefit by deploying a private TURN relay server though, but that's only if direct peer to peer fails, such as on some mobile or corporate networks.

If you create a self signed cert, you'll need to add it to your system's keychain -- this tells the system it can trust it, as you've added it to the system's trusted list of certs. WIthout doing so, it will complain about it not being validated. I don't offer instructions on how to add it to your system, but there's plenty online.

https://github.com/steveseguin/vdo.ninja/blob/develop/install.md#dealing-with-no-ssl-scenarios

steveseguin avatar Dec 10 '22 18:12 steveseguin