I am trying to make a perfect mobile webcam fitting my needs with the RPI and camera module I have here already. I run Arch both on the RPI and on the Laptop I intend as the "client". I have the cam running and can pipe its data from
raspivid somewhere, and I am able to ssh back and forth.
Now I am trying to get the transmission via the local network to work. Ideally, I would start the "server" script on the RPI and be able to connect as many clients as often as I want until I decide to close the server again. And, ideally, the delay from having a separate device and wireless transmission is almost unnoticeable so that I don't have to compensate and try to sync up video and audio. So from what I read, using VLC is out of the question. Also ideally, the "client" would make the stream available as
/dev/video1 or whatever — though currently I just want to get it into OBS somehow.
Until now I tried to follow some tutorials particularly involving
netcat, but the process stopped immediately or as soon as a disconnect happened, as I was unable to play the stream on the client.
Any hints on where to look or how to plan this? I thought about using something like a media server for that dynamic client (dis)connect thing, but it would need to be super lightweight.