.vscode | ||
service | ||
.gitignore | ||
deploy.yml | ||
mediamtx.yml.j2 | ||
README.md |
RCam
This repo lets you automatically setup a host as an IP Camera.
Setup
Generate certs for encryption:
openssl genrsa -out server.key 2048
openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650
Run ansible-playbook deploy.yml -i <IP>, -l <IP>
.
The playbook will asks you for the following:
user
- The local user on the hostrtsp_user
- RTSP Authenticationrtsp_pass
- RTSP Authenticationvideo_device
- The video device to broadcast (e.g/dev/video0
)