prepare to the new feature

This commit is contained in:
Devaev Maxim
2020-05-25 21:32:01 +03:00
parent aed6bdaf84
commit 9bfc09a265
2 changed files with 24 additions and 10 deletions

View File

@@ -171,7 +171,7 @@ class _Client(RfbClient): # pylint: disable=too-many-instance-attributes
while True:
try:
streaming = False
async for (online, width, height, jpeg) in self.__streamer.read():
async for (online, width, height, jpeg) in self.__streamer.read_stream():
if not streaming:
logger.info("[streamer] Client %s: Streaming ...", self._remote)
streaming = True