summaryrefslogtreecommitdiff
path: root/kvmd
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd')
-rw-r--r--kvmd/apps/__init__.py2
-rw-r--r--kvmd/validators/kvm.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index d3c8d5bc..b31ac936 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -432,7 +432,7 @@ def _get_config_scheme() -> Dict:
"h264_bitrate": {
"default": Option(0, type=valid_stream_h264_bitrate, if_empty=0, unpack_as="h264_bitrate"),
"min": Option(25, type=valid_stream_h264_bitrate, unpack_as="h264_bitrate_min"),
- "max": Option(25000, type=valid_stream_h264_bitrate, unpack_as="h264_bitrate_max"),
+ "max": Option(20000, type=valid_stream_h264_bitrate, unpack_as="h264_bitrate_max"),
},
"h264_gop": {
diff --git a/kvmd/validators/kvm.py b/kvmd/validators/kvm.py
index 33d20d58..a6a6060a 100644
--- a/kvmd/validators/kvm.py
+++ b/kvmd/validators/kvm.py
@@ -77,7 +77,7 @@ def valid_stream_resolution(arg: Any) -> str:
def valid_stream_h264_bitrate(arg: Any) -> int:
- return int(valid_number(arg, min=25, max=25000, name="stream H264 bitrate"))
+ return int(valid_number(arg, min=25, max=20000, name="stream H264 bitrate"))
def valid_stream_h264_gop(arg: Any) -> int: