From 92a66af0a67eb7192dfa1ec86cdaa66b08f928c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= Date: Fri, 11 Oct 2024 14:03:16 +0200 Subject: [PATCH] README: document enabling/disabling services MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Support for enabling/disabling services has been added in 54f76654141fe6ce4b7197a8076aa218532a3fb0 but was so far not documented, which made it hard to find. This is a very useful feature for people who prefer to avoid relying on the proprietary application to enable services, so add it to the main README file. Signed-off-by: Raphaël Mélotte --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 011e731b..fe4142ff 100644 --- a/README.md +++ b/README.md @@ -570,6 +570,24 @@ neolink ptz --config=config.toml CameraName zoom 2.5 With 1.0 being normal and 2.5 being 2.5x zoom +### Enabling services (http, https, rtmp, rtsp and onvif) + +**For newer cameras that have services on the camera hardware. These can be enabled with the `services` command.** + +This is not related to the `rtsp` mode of neolink which is a separate feature. + +For example, to enable the http port: +```bash +neolink services --config=/etc/neolink.toml CameraName http on +``` + +To disable it: +```bash +neolink services --config=/etc/neolink.toml CameraName http off +``` + +Note that this might not work on older camera models. + ## License Neolink is free software, released under the GNU Affero General Public License