Streaming local Webcam in a Linux machine, and acessing it when on vacations - which protocol to choose? - eviltoast

I want to configure a local webcam to stream (and possibly record) a live feed open to the internet, and acess it half-world away while traveling, using FOSS only acessing it via Android VLC

This guide was quite comprehensive; however the packages for nginx-rtmp are quite abandoned in arch linux. So I thought maybe WebRTC could be an alternative - the communication itself should be encrypted, which WebRTC seems to do; however, I still can’t figure out if VLC will handle this well

Also, it seems that I might need to self-host a VPN to achieve this? What are my options? Has anyone else done this ?

  • shadowintheday2@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    Thank you, I managed to get it working with MediaMTX and DockoVPN I still don’t know how I would manage dynamic IP changes during the days I’m away, that would break the VPN

    • abominable_panda@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 months ago

      Amazing! Congrats :)

      For the dynamic ip address that you can get a free domain name from afraid or noip or maybe others and point your vpn to your domain name instead of direct ip address. Following that you can run cron job scripts to ensure the ip address that the domain points to is up to date

    • tapdattl@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      I just set up a security camera for my dad’s office: zoneminder running the webcam and tailscale for access anywhere.