Improve RTSP support to configure port and expose low res stream

This commit is contained in:
Kamil Trzcinski
2022-08-27 20:38:15 +02:00
parent e4be9cac48
commit d430d68fc7
9 changed files with 89 additions and 24 deletions

View File

@ -20,7 +20,8 @@ ExecStart=/usr/local/bin/camera-streamer \
; bump brightness slightly
-camera-options=brightness=0.1 \
; disable auto-focus
-camera-auto_focus=1
-camera-auto_focus=1 \
-rtsp-port
DynamicUser=yes
SupplementaryGroups=video i2c

View File

@ -22,7 +22,8 @@ ExecStart=/usr/local/bin/camera-streamer \
; bump brightness slightly
-camera-options=brightness=0.1 \
; disable auto-focus
-camera-auto_focus=0
-camera-auto_focus=0 \
-rtsp-port
DynamicUser=yes
SupplementaryGroups=video i2c

View File

@ -21,7 +21,8 @@ ExecStart=/usr/local/bin/camera-streamer \
; the low-res is 820x616
-camera-low_res_factor=4 \
; bump brightness slightly
-camera-options=brightness=0.1
-camera-options=brightness=0.1 \
-rtsp-port
DynamicUser=yes
SupplementaryGroups=video i2c

View File

@ -14,7 +14,8 @@ ExecStart=/usr/local/bin/camera-streamer \
; the high-res is 1920x1080
-camera-high_res_factor=1.0 \
; the low-res is 960x540
-camera-low_res_factor=2.0
-camera-low_res_factor=2.0 \
-rtsp-port
DynamicUser=yes
SupplementaryGroups=video i2c