Stream from your RTSP camera to prusa connect.
If you wish to run as a service (eg: using systemd on a prusalink device).
- Copy
prusa-rtsp-streamer
to/usr/local/bin
- Copy
prusa-rtsp-streamer.service
to/etc/systemd/system/
- Populate your config at
/etc/prusa-rtsp-streamer/config.toml
- Test the service:
systemctl start prusa-rtsp-streamer
- Enable the service on boot:
systemctl enable prusa-rtsp-streamer
snapshot_interval = 30
[[camera]]
token = "mnbdNm8ATLmJLMSvaWZh" # "custom camera" from prusa connect website
url = "rtsp://192.168.0.2:8080/h264.sdp"
[[camera]]
token = "BTGWx7tJRQGcZzh8r99r"
url = "rtsp://192.168.0.4:8080/stream1"
username = "username"
password = "password"
x64:
sudo apt install nasm
cargo build --release
Prusalink:
cargo install cross
cross build --release --target armv7-unknown-linux-gnueabihf