http: add --http-listen=<ip4>
, and listen by default on 127.0.0.1
(#81)
Co-authored-by: AndrolGenhald <AndrolGenhald@gmail.com>
This commit is contained in:
@ -23,6 +23,8 @@ ExecStart=/usr/local/bin/camera-streamer \
|
||||
-camera-options=brightness=0.1 \
|
||||
; disable auto-focus
|
||||
-camera-auto_focus=1 \
|
||||
--http-listen=0.0.0.0 \
|
||||
--http-port=8080 \
|
||||
-rtsp-port
|
||||
|
||||
DynamicUser=yes
|
||||
|
@ -25,6 +25,8 @@ ExecStart=/usr/local/bin/camera-streamer \
|
||||
-camera-options=brightness=0.1 \
|
||||
; disable auto-focus
|
||||
-camera-auto_focus=0 \
|
||||
--http-listen=0.0.0.0 \
|
||||
--http-port=8080 \
|
||||
-rtsp-port
|
||||
|
||||
DynamicUser=yes
|
||||
|
@ -11,6 +11,8 @@ ExecStart=/usr/local/bin/camera-streamer \
|
||||
-camera-fps=30 \
|
||||
; use two memory buffers to optimise usage
|
||||
-camera-nbufs=3 \
|
||||
--http-listen=0.0.0.0 \
|
||||
--http-port=8080 \
|
||||
; disable video streaming (WebRTC, RTSP, H264)
|
||||
; on non-supported platforms
|
||||
-camera-video.disabled
|
||||
|
@ -17,6 +17,8 @@ ExecStart=/usr/local/bin/camera-streamer \
|
||||
-camera-video.height=720 \
|
||||
; the stream is 853x480
|
||||
-camera-stream.height=480 \
|
||||
--http-listen=0.0.0.0 \
|
||||
--http-port=8080 \
|
||||
-rtsp-port
|
||||
|
||||
DynamicUser=yes
|
||||
|
@ -24,6 +24,8 @@ ExecStart=/usr/local/bin/camera-streamer \
|
||||
-camera-stream.height=480 \
|
||||
; bump brightness slightly
|
||||
-camera-options=brightness=0.1 \
|
||||
--http-listen=0.0.0.0 \
|
||||
--http-port=8080 \
|
||||
-rtsp-port
|
||||
|
||||
DynamicUser=yes
|
||||
|
@ -25,6 +25,8 @@ ExecStart=/usr/local/bin/camera-streamer \
|
||||
; enable continuous autofocus
|
||||
-camera-options=AfMode=2 \
|
||||
-camera-options=AfRange=2 \
|
||||
--http-listen=0.0.0.0 \
|
||||
--http-port=8080 \
|
||||
-rtsp-port
|
||||
|
||||
DynamicUser=yes
|
||||
|
Reference in New Issue
Block a user