mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-24 23:52:22 +00:00
rpicamera: change default resolution to 1920x1080
This commit is contained in:
parent
7013b75daf
commit
532592c099
@ -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
|
||||||
|
@ -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…
Reference in New Issue
Block a user