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 ?
I’m using Frigate with a Google Coral connected to Home Assistant, it’d send an image and a short video to a Telegram group with my wife whenever it detects a person.
I’m using OpenIPC firmware flashed on a chinese Goke camera and works great. It connects to Frigate using RTMP.
If you have a Home Assistant instance, adding a webcam and accessing it from outside of your home network is quite easy: https://www.home-assistant.io/blog/2016/06/23/usb-webcams-and-home-assistant/
Home Assistant is a very useful platform to have around if you have a handful of IoT devices at home.
Setup Tailscale on your machine at home and on your Android device. It’ll provide a virtual encrypted network between your devices.
Not sure what video performance across it will be like, I’m sure there’s a bit of overhead.
Just use wire guard, which is the backbone of tailscale.
Tailscale could rug pull one day or start charging.
Sounds like OP could handle wire guard setup.
That’s true, they could. So could the devs of Wireguard. I see zero implication that either will.
Worry is interest paid on a debt you don’t have.
TS already has a paid tier, so I don’t see it as likely. And if they do change in someway, I can either move to paid or move to WG then, if needed.
Plus it’s much easier to setup and manage, and has some neat features like Funnel. It’s as easy as running an installer on the machines, and creating an account.
Last I checked (perhaps a year ago) Wireguard still required a bit of manual effort to connect machines to each other (generating/sharing keys, updating each machine config, etc), while Tailscale handles that by using an account which manages key distribution.
You can self-host TS to not be dependent on their servers for the account management. That doesn’t sound like developers that are going to “pull the rug”.
It’s interesting, I see TS doing a lot of stuff Hamachi did 20 years ago, with having relay capability if ports can’t be forwarded/opened via UPNP, or you’re on a firewalled network. I’m a bit surprised it took this long, Hamachi was great in the early 2000’s.
I don’t see them going away, they’ve really developed. I’ll be moving to a paid tier when I rebuild my network and lab, not that I need to, but it’ll be nice to have support, and I’ll be contributing to a tool that I’ve missed for years in Hamachi.
however the packages for nginx-rtmp are quite abandoned in arch linux.
Maybe you should switch to Debian? I’ve been doing it for a long time that way and playing to VLC without issues. What repositories are you using btw? Official ones at http://nginx.org/en/linux_packages.html or some 3rd party garbage?
My use case is similar. So i use a Pi 5 running motioneye dev 64bit. 3 cams 2 usb webcams (uvc compliant) 1 esp32 cam wifi. Another Pi a 4 this time runs pihole and wireguard vpn. Static ip so all is good. Homarr is my dashboard and i can view from that or the motioneye interface directly.
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters HTTP Hypertext Transfer Protocol, the Web HTTPS HTTP over SSL IP Internet Protocol IoT Internet of Things for device controllers SSL Secure Sockets Layer, for transparent encryption VPN Virtual Private Network nginx Popular HTTP server
6 acronyms in this thread; the most compressed thread commented on today has 8 acronyms.
[Thread #402 for this sub, first seen 5th Jan 2024, 02:35] [FAQ] [Full list] [Contact] [Source code]
New Lemmy Post: Streaming local Webcam in a Linux machine, and acessing it when on vacations - which protocol to choose? (https://lemmy.world/post/10329823)
Tagging: #SelfHosted(Replying in the OP of this thread (NOT THIS BOT!) will appear as a comment in the lemmy discussion.)
I am a FOSS bot. Check my README: https://github.com/db0/lemmy-tagginator/blob/main/README.md