- Download & Install nodejs
- Go to this directory and execute
npm install
- Create config.json file by following config.example.json (currently IP is not auto discoverable yet, so need to specify it)
- Run via this command
npm run start
ornpm run dev2
- Connect to stream via URL
http://localhost:4000/video/stream.flv
(port can be changed inside config.json)
Currently this is buggy:
- The camera stream should start when client first connect to it, but currently it is started before client connected to it. The client will lose I-Frame, a workaround has been implemented for this.
- The audio codec is selected by guesswork.