refactoring

This commit is contained in:
Devaev Maxim
2021-02-03 20:40:02 +03:00
parent 18805b3499
commit db4dc5de45
2 changed files with 7 additions and 6 deletions

View File

@@ -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):