The IP and/or Port specified from the commandline will also be broadcasted to the clients.
This commit is contained in:
parent
34d7cad6cd
commit
1c831d022a
1 changed files with 2 additions and 2 deletions
4
vloed.py
4
vloed.py
|
|
@ -36,8 +36,8 @@ class Canvas(object):
|
|||
self.pixeloffset = 2
|
||||
self.fps = 30
|
||||
self.screen = None
|
||||
self.udp_ip = UDP_IP
|
||||
self.udp_port = UDP_PORT
|
||||
self.udp_ip = options.ip if options.ip else UDP_IP
|
||||
self.udp_port = options.port if options.port else UDP_PORT
|
||||
self.factor = options.factor if options.factor else 1
|
||||
self.width = options.width if options.width else DEFAULT_WIDTH
|
||||
self.height = options.height if options.height else DEFAULT_HEIGHT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue