diff --git a/server/cmd/config/config.go b/server/cmd/config/config.go index 7f07c1f5..07bbbe33 100644 --- a/server/cmd/config/config.go +++ b/server/cmd/config/config.go @@ -56,8 +56,8 @@ func validate(config *Config) error { if config.DisplayNum < 0 { return fmt.Errorf("DISPLAY_NUM must be greater than 0") } - if config.FrameRate < 0 || config.FrameRate > 20 { - return fmt.Errorf("FRAME_RATE must be greater than 0 and less than or equal to 20") + if config.FrameRate < 0 || config.FrameRate > 60 { + return fmt.Errorf("FRAME_RATE must be greater than 0 and less than or equal to 60") } if config.MaxSizeInMB < 0 || config.MaxSizeInMB > 1000 { return fmt.Errorf("MAX_SIZE_MB must be greater than 0 and less than or equal to 1000") diff --git a/server/openapi.yaml b/server/openapi.yaml index 2ca99287..55e4e566 100644 --- a/server/openapi.yaml +++ b/server/openapi.yaml @@ -1208,7 +1208,7 @@ components: type: integer description: Recording framerate in fps (overrides server default) minimum: 1 - maximum: 20 + maximum: 60 maxDurationInSeconds: type: integer description: Maximum recording duration in seconds (overrides server default)