mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2026-04-18 21:13:30 +00:00
resolves the hostname once and use it throughout the package
this is more efficient and fails faster on error. patch bump
This commit is contained in:
@@ -33,7 +33,7 @@ class Subscriber(threading.Thread):
|
||||
nbs, self._remote._get_next_framecounter()
|
||||
)
|
||||
self._remote.sock.sendto(
|
||||
sub_packet, (self._remote.host, self._remote.port)
|
||||
sub_packet, (self._remote._host_ip, self._remote.port)
|
||||
)
|
||||
|
||||
self.wait_until_stopped(10)
|
||||
|
||||
Reference in New Issue
Block a user