I'm trying to build a simple project to monitor a room (with the official camera) and also control some relays.
I've been trying for some time now to figure out how to feed the video to a web page hosted by the Raspberry Pi 3 (I'm using nginx).
The idia is to access the page form my mobile, view the video and/or control the relays status.
I tried the raspivid and, nc, raspvid and vlc with or without transcoding and now V4L2 with vlc without success.
I'm very sure I'm doing something wrong since I do not fully understand the encoding I need to use so it is more like trial and error based on the examples in forums.
How could I feed the video in a format stream-able from http?
Do you have any working example?