Compiling with `gcc (GCC) 14.1.1 20240507` raised the following warning:
`error: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]`
Adding `#include <sys/time.h>` according to `man gettimeofday` fixes#509.
Once we have a source connection to our local sink, spawn gstreamer so the
actual video data is rendered.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
The event-loop might be needed in later ctl additions for timeouts, so
make it global. Same for the bus-logic.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
The miracle-wifictl program can be used to manage miracle-wifid. It
provides low-level P2P helpers, so the main miraclectl can skip thos.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>