summaryrefslogtreecommitdiff
path: root/kvmd/clients
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-02-03 20:40:02 +0300
committerDevaev Maxim <[email protected]>2021-02-03 20:40:02 +0300
commitdb4dc5de4586f4f30dfacb0c9a5d0c40c2c67b68 (patch)
treeec7e06dd1a2d9de6583771903fc4dace81754e41 /kvmd/clients
parent18805b34995919255bf98cba25e70bd45c016c9b (diff)
refactoring
Diffstat (limited to 'kvmd/clients')
-rw-r--r--kvmd/clients/streamer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd/clients/streamer.py b/kvmd/clients/streamer.py
index a42dcb20..9ab3b856 100644
--- a/kvmd/clients/streamer.py
+++ b/kvmd/clients/streamer.py
@@ -114,6 +114,7 @@ class HttpStreamerClient(BaseStreamerClient):
"width": int(frame.headers["X-UStreamer-Width"]),
"height": int(frame.headers["X-UStreamer-Height"]),
"data": data,
+ "format": StreamFormats.JPEG,
}
except Exception as err: # Тут бывают и ассерты, и KeyError, и прочая херня
if isinstance(err, StreamerTempError):