go2rtc - themactep/thingino-firmware GitHub Wiki
Installation
add BR2_PACKAGE_GO2RTC=y
to your config to enable go2rtc compilation.
sdcard
Alternatively, if your camera supports an sdcard, you can run go2rtc on that via run.sh
that runs at camera boot.
- Format an sdcard with exfat
- Download go2rtc for mipsel at https://github.com/AlexxIT/go2rtc/releases and extract it to the sdcard.
- Create a file called
run.sh
and add the contents:
#!/bin/sh
/mnt/mmcblk0p1/go2rtc_linux_mipsel -c /mnt/mmcblk0p1/go2rtc.yaml -d
- Create a configuration file called
go2rtc.yaml
on the sdcard:
api:
username: "thingino"
password: "thingino"
streams:
ch0:
- rtsp://thingino:[email protected]/ch0#timeout=30
ch1:
- rtsp://thingino:[email protected]/ch1#timeout=30
webrtc:
candidates:
- stun:8555
- Insert the sdcard into your camera, restart it, and navigate to port 1984 to verify that it is working.
HomeKit
Omit setting any username and password for the api if you intend to use the HomeKit integration as it is otherwise broken right now
Note:
** will not work on cameras with 64mb memory