summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-03-16 04:34:58 +0300
committerDevaev Maxim <[email protected]>2021-03-16 04:34:58 +0300
commitca165ed4ceb462e2778289b28e103871d7461bcd (patch)
treecc25892cc5a992767be80b5aaddde73e5fb47d44
parenta80e903918f51c09880637e2df92fba177f52c06 (diff)
fixed missing h264_gop param
-rw-r--r--kvmd/apps/kvmd/server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/kvmd/apps/kvmd/server.py b/kvmd/apps/kvmd/server.py
index 06d5823a..71d9a5fa 100644
--- a/kvmd/apps/kvmd/server.py
+++ b/kvmd/apps/kvmd/server.py
@@ -56,6 +56,7 @@ from ...validators.kvm import valid_stream_quality
from ...validators.kvm import valid_stream_fps
from ...validators.kvm import valid_stream_resolution
from ...validators.kvm import valid_stream_h264_bitrate
+from ...validators.kvm import valid_stream_h264_gop
from ... import aiotools
from ... import aioproc
@@ -227,6 +228,7 @@ class KvmdServer(HttpServer): # pylint: disable=too-many-arguments,too-many-ins
("desired_fps", valid_stream_fps, None),
("resolution", valid_stream_resolution, StreamerResolutionNotSupported),
("h264_bitrate", valid_stream_h264_bitrate, StreamerH264NotSupported),
+ ("h264_gop", valid_stream_h264_gop, StreamerH264NotSupported),
]:
value = request.query.get(name)
if value: