Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions server/cmd/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion server/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading