Browse Source

rpicamera: change default resolution to 1920x1080

pull/1219/head
aler9 3 years ago
parent
commit
532592c099
  1. 4
      internal/conf/path.go
  2. 4
      rtsp-simple-server.yml

4
internal/conf/path.go

@ -194,10 +194,10 @@ func (pconf *PathConf) checkAndFillMissing(conf *Conf, name string) error {
} }
if pconf.RPICameraWidth == 0 { if pconf.RPICameraWidth == 0 {
pconf.RPICameraWidth = 1280 pconf.RPICameraWidth = 1920
} }
if pconf.RPICameraHeight == 0 { if pconf.RPICameraHeight == 0 {
pconf.RPICameraHeight = 720 pconf.RPICameraHeight = 1080
} }
if pconf.RPICameraContrast == 0 { if pconf.RPICameraContrast == 0 {
pconf.RPICameraContrast = 1 pconf.RPICameraContrast = 1

4
rtsp-simple-server.yml

@ -231,9 +231,9 @@ paths:
# ID of the camera # ID of the camera
rpiCameraCamID: 0 rpiCameraCamID: 0
# width of frames # width of frames
rpiCameraWidth: 1280 rpiCameraWidth: 1920
# height of frames # height of frames
rpiCameraHeight: 720 rpiCameraHeight: 1080
# flip horizontally # flip horizontally
rpiCameraHFlip: false rpiCameraHFlip: false
# flip vertically # flip vertically

Loading…
Cancel
Save