ustreamer without dict caching

This commit is contained in:
Devaev Maxim
2021-03-14 18:46:53 +03:00
parent 21728bd5fa
commit a4c53f9811
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ depends=(
iproute2 iproute2
dnsmasq dnsmasq
"raspberrypi-io-access>=0.5" "raspberrypi-io-access>=0.5"
"ustreamer>=3.17" "ustreamer>=3.20"
# Avoid dhcpcd stack trace # Avoid dhcpcd stack trace
dhclient dhclient

View File

@@ -266,7 +266,7 @@ class _Client(RfbClient): # pylint: disable=too-many-instance-attributes
)) ))
): ):
has_h264_key = (frame["format"] == StreamFormats.H264 and frame["key"]) has_h264_key = (frame["format"] == StreamFormats.H264 and frame["key"])
last = dict(frame) last = frame
if self.__fb_queue.qsize() == 0: if self.__fb_queue.qsize() == 0:
break break
continue continue