11 Commits

Author SHA1 Message Date
Stephan Wendel
490f3f2842
FIX: Fixed SC2034 in webcamd
Fixed typo in getopts

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2021-12-08 21:42:55 +01:00
Stephan Wendel
bcefa9886b
IMPROVE: Split webcamd with 'libs'
This should improve maintainability.

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2021-12-08 20:02:09 +01:00
Stephan Wendel
ec3157a794
Dropped mjpg-streamer
* Updated README.md accordingly
* Ustreamer now compiles without omx flag and
* webcamd does not use --encoder omx.
* Added new install and uninstall script,
* both prepared for later implementing webrtc
* Updated and tested custompios Module
* Removed mjpg-streamer from webcamd

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2021-11-23 19:45:20 +01:00
Stephan Wendel
9ef05e586a FEATURE: Added loggin to systemd
* webcamd logs now also to systemd.
* viewable via journalctl and systemctl status webcamd.
* Logs always in debug Style to systemd

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2021-11-04 19:15:08 +01:00
Stephan Wendel
6891584990 Rewritten Log Handling
* Now you can set log_level to your needs.
See README.md for Details.
* Added Option to delete log file on restarts
* develop_log: true
*
* Updated README.md accordingly

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2021-11-02 21:09:34 +01:00
Stephan Wendel
7e278cde4b Changed PATH for 'lost-' Files
* To delete files on reboot using /tmp for Files

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2021-11-01 13:08:21 +01:00
Stephan Wendel
2d1888b439 Changed WATCHDOG behavior.
* If a Device is lost, log file gets spammed over time.
* Now WATCHDOG logs once if device lost and if device returns

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2021-11-01 12:21:58 +01:00
Stephan Wendel
943f78f5b5 Rebuild WATCHDOG.
* Watchdog now only send message to log if Device is lost

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2021-10-31 13:47:05 +01:00
Stephan Wendel
a63288a805 Changed custom_flag behavior
* run_ustreamer and run_rtsp functions modified to add custom_flags
at the end of regular/preset Parameters

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2021-10-29 18:07:01 +02:00
Stephan Wendel
fb19085592 Changed function run_mjpg.
* Changed custom_flags behavior.
* If custom_flags available they are added to the 'input' section.
* This should be easier for the User to add own flags.
* Therefore the User 'lose' full control over mjpg_streamer.
* Output section Parameters are fixed now.

Signed-off-by: Stephan Wendel <me@stephanwe.de>
2021-10-29 18:07:01 +02:00
Stephan Wendel
b55ff454fc Initial Commit
Signed-off-by: Stephan Wendel <me@stephanwe.de>
2021-10-27 18:07:39 +02:00