mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
ustreamer without dict caching
This commit is contained in:
2
PKGBUILD
2
PKGBUILD
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user