diff options
author | Devaev Maxim <[email protected]> | 2021-01-22 04:26:04 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-01-22 04:26:04 +0300 |
commit | ebe40697a5935d5d35a36d0825715ca8c3824c6a (patch) | |
tree | 7190cd7443b05efbd07660987b465afbcaf57d02 /kvmd/apps/vnc/__init__.py | |
parent | 7c39b3facd6cc930dbf8994c75b24f48c71902b5 (diff) |
sink source for vnc
Diffstat (limited to 'kvmd/apps/vnc/__init__.py')
-rw-r--r-- | kvmd/apps/vnc/__init__.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/kvmd/apps/vnc/__init__.py b/kvmd/apps/vnc/__init__.py index f252e404..96199fca 100644 --- a/kvmd/apps/vnc/__init__.py +++ b/kvmd/apps/vnc/__init__.py @@ -24,7 +24,8 @@ from typing import List from typing import Optional from ...clients.kvmd import KvmdClient -from ...clients.streamer import StreamerClient +from ...clients.streamer import StreamerHttpClient +from ...clients.streamer import StreamerMemsinkClient from ... import htclient @@ -62,10 +63,14 @@ def main(argv: Optional[List[str]]=None) -> None: user_agent=user_agent, **config.kvmd._unpack(), ), - streamer=StreamerClient( + streamer_http=StreamerHttpClient( user_agent=user_agent, **config.streamer._unpack(), ), + streamer_memsink_jpeg=( + StreamerMemsinkClient(**config.memsink.jpeg._unpack()) + if config.memsink.jpeg.sink else None + ), vnc_auth_manager=VncAuthManager(**config.auth.vncauth._unpack()), **config.server.keepalive._unpack(), |