QuantumEntangledAndy / neolink

An RTSP bridge to Reolink IP cameras
GNU Affero General Public License v3.0
247 stars 39 forks source link

Feature/port control #231

Closed QuantumEntangledAndy closed 2 months ago

QuantumEntangledAndy commented 3 months ago

This adds a sub command to adjust the ports and availability of various services that the CAMERA provides. This dosen't effect what neolink provides

Note: This will not work on the cameras that do not have these features like E1 and Argus2E

# To turn on http
neolink services --config=config.toml CameraName http on
# Or off
neolink services --config=config.toml CameraName http off
# Or set the port
neolink services --config=config.toml CameraName http port 80
# Or get the current port details
neolink services --config=config.toml CameraName http get

Services are

For example rtsp

neolink services --config=config.toml CameraName rtsp on

Fixes #225

QuantumEntangledAndy commented 2 months ago

Ok then merging