Browse Source

update docs (#2590)

pull/2594/head
Alessandro Ros 2 years ago committed by GitHub
parent
commit
6d27d690dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      README.md
  2. 2
      internal/conf/conf.go
  3. 2
      internal/conf/path.go

2
README.md

@ -502,6 +502,8 @@ docker run --rm -it \
bluenviron/mediamtx:latest-rpi 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: Camera settings can be changed by using the `rpiCamera*` parameters:
```yml ```yml

2
internal/conf/conf.go

@ -175,7 +175,7 @@ type Conf struct {
// Paths // Paths
OptionalPaths map[string]*OptionalPath `json:"paths"` OptionalPaths map[string]*OptionalPath `json:"paths"`
Paths map[string]*Path `json:"-"` Paths map[string]*Path `json:"-"` // filled by Check()
} }
func (conf *Conf) setDefaults() { func (conf *Conf) setDefaults() {

2
internal/conf/path.go

@ -49,7 +49,7 @@ func srtCheckPassphrase(passphrase string) error {
// Path is a path configuration. // Path is a path configuration.
type Path struct { type Path struct {
Regexp *regexp.Regexp `json:"-"` Regexp *regexp.Regexp `json:"-"` // filled by Check()
// General // General
Source string `json:"source"` Source string `json:"source"`

Loading…
Cancel
Save