From 532592c0991c5466c986bb6cacb6c48f3d4e13c3 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Tue, 25 Oct 2022 11:29:04 +0200 Subject: [PATCH] rpicamera: change default resolution to 1920x1080 --- internal/conf/path.go | 4 ++-- rtsp-simple-server.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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