every communication program sucks
code is made for easily flexible communication program
structural design of prot.h made by github.com/6413 client uses github.com/6413/fan for window related things
Supports changing video encoder and decoder in runtime. Built in encoders and decoders:
- OpenH264
- X264
- NVENC, NVCUVID
Browsers connect through a small gateway that runs next to the ecps server. It needs Node.js.
- Start the ecps server.
- Build the page once, and again after changing the web code:
cd web
npm install
npm run build- Start the gateway from the
webfolder:
ECPS_HOST=127.0.0.1 ECPS_PORT=43254 WEB_PASSWORD=choose-one npm run gatewayIn PowerShell:
$env:ECPS_HOST = '127.0.0.1'
$env:ECPS_PORT = '43254'
$env:WEB_PASSWORD = 'choose-one'
npm run gateway- Open http://localhost:8080 on the same machine.
ECPS_HOST and ECPS_PORT are the ecps server's address. An empty WEB_PASSWORD
means no password. Phones and other devices need an HTTPS link, see
web/README.md for that and for all the settings.

