diff --git a/internal/conf/path.go b/internal/conf/path.go index 8c41850b..e56d3301 100644 --- a/internal/conf/path.go +++ b/internal/conf/path.go @@ -194,10 +194,10 @@ func (pconf *PathConf) checkAndFillMissing(conf *Conf, name string) error { } if pconf.RPICameraWidth == 0 { - pconf.RPICameraWidth = 1280 + pconf.RPICameraWidth = 1920 } if pconf.RPICameraHeight == 0 { - pconf.RPICameraHeight = 720 + pconf.RPICameraHeight = 1080 } if pconf.RPICameraContrast == 0 { pconf.RPICameraContrast = 1 diff --git a/rtsp-simple-server.yml b/rtsp-simple-server.yml index b2423254..95500395 100644 --- a/rtsp-simple-server.yml +++ b/rtsp-simple-server.yml @@ -231,9 +231,9 @@ paths: # ID of the camera rpiCameraCamID: 0 # width of frames - rpiCameraWidth: 1280 + rpiCameraWidth: 1920 # height of frames - rpiCameraHeight: 720 + rpiCameraHeight: 1080 # flip horizontally rpiCameraHFlip: false # flip vertically