refactored streamer params, added h264 gop

This commit is contained in:
Devaev Maxim
2021-02-06 19:27:00 +03:00
parent c36d931ee3
commit 63aa4a07a7
5 changed files with 78 additions and 19 deletions

View File

@@ -78,3 +78,7 @@ def valid_stream_resolution(arg: Any) -> str:
def valid_stream_h264_bitrate(arg: Any) -> int:
return int(valid_number(arg, min=100, max=16000, name="stream H264 bitrate"))
def valid_stream_h264_gop(arg: Any) -> int:
return int(valid_number(arg, min=0, max=60, name="stream H264 GOP"))