mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
vnc: pass offline frames
This commit is contained in:
parent
8f19d40566
commit
21c83e6fca
@ -212,10 +212,7 @@ class _Client(RfbClient): # pylint: disable=too-many-instance-attributes
|
||||
if not streaming:
|
||||
logger.info("%s [streamer]: Streaming ...", self._remote)
|
||||
streaming = True
|
||||
if frame["online"]:
|
||||
await self.__queue_frame(frame)
|
||||
else:
|
||||
await self.__queue_frame("No signal")
|
||||
await self.__queue_frame(frame)
|
||||
except StreamerError as ex:
|
||||
if isinstance(ex, StreamerPermError):
|
||||
streamer = self.__get_default_streamer()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user