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.

  1. Format an sdcard with exfat
  2. Download go2rtc for mipsel at https://github.com/AlexxIT/go2rtc/releases and extract it to the sdcard.
  3. Create a file called run.sh and add the contents:
#!/bin/sh
/mnt/mmcblk0p1/go2rtc_linux_mipsel -c /mnt/mmcblk0p1/go2rtc.yaml -d
  1. 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
  1. Insert the sdcard into your camera, restart it, and navigate to port 1984 to verify that it is working.