Last active
August 26, 2024 12:59
-
-
Save avrj/48b75dd0cf449b7e40b7e09bf1bbb42a to your computer and use it in GitHub Desktop.
How to use TP-Link Tapo C100 camera with Mainsail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to use TP-Link Tapo C100 camera OR any camera that provides RTSP stream with Mainsail | |
1. Download go2rtc: | |
wget https://github.com/AlexxIT/go2rtc/releases/download/v1.9.4/go2rtc_linux_mipsel | |
2. Make it executable | |
chmod +x ./go2rtc_linux_mipsel | |
3. Create go2rtc.yaml config | |
streams: | |
my_camera: | |
url: rtsp://username:password@IP/stream1 | |
api: | |
listen: ":1984" | |
origin: "*" | |
You can get the IP of the camera from the Tapo mobile app | |
3. Start go2rtc: | |
./go2rtc_linux_mipsel | |
4. Add camera to Mainsail: | |
URL Stream: http://MAILSAIL_IP:1984/ws?src=my_camera | |
URL Snapshot: http://MAILSAIL_IP:1984/ws?src=my_camera | |
Service: WebRTC (go2rtc) | |
Replace MAILSAIL_IP with the ip of your Mainsail instance |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment