From 6d27d690dcf0fb876ca1f223bfe30e38dbf2bb5b Mon Sep 17 00:00:00 2001 From: Alessandro Ros Date: Sat, 28 Oct 2023 11:52:31 +0200 Subject: [PATCH] update docs (#2590) --- README.md | 2 ++ internal/conf/conf.go | 2 +- internal/conf/path.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ce5f85d1..7829dff6 100644 --- a/README.md +++ b/README.md @@ -502,6 +502,8 @@ docker run --rm -it \ bluenviron/mediamtx:latest-rpi ``` +Be aware that the Docker image is not compatible with cameras that requires a custom `libcamera` (like some ArduCam products), since it comes with a standard `libcamera` included. + Camera settings can be changed by using the `rpiCamera*` parameters: ```yml diff --git a/internal/conf/conf.go b/internal/conf/conf.go index 4525da81..8e36efa0 100644 --- a/internal/conf/conf.go +++ b/internal/conf/conf.go @@ -175,7 +175,7 @@ type Conf struct { // Paths OptionalPaths map[string]*OptionalPath `json:"paths"` - Paths map[string]*Path `json:"-"` + Paths map[string]*Path `json:"-"` // filled by Check() } func (conf *Conf) setDefaults() { diff --git a/internal/conf/path.go b/internal/conf/path.go index fedc7a3d..897fd746 100644 --- a/internal/conf/path.go +++ b/internal/conf/path.go @@ -49,7 +49,7 @@ func srtCheckPassphrase(passphrase string) error { // Path is a path configuration. type Path struct { - Regexp *regexp.Regexp `json:"-"` + Regexp *regexp.Regexp `json:"-"` // filled by Check() // General Source string `json:"source"`