This commit is contained in:
yumoqing 2020-07-29 13:28:01 +08:00
parent bd297306a3
commit f5848a069a

View File

@ -237,7 +237,6 @@ class Swipe_VPlayer(BaseVPlayer, SwipeBehavior):
class OSC_VPlayer(BaseVPlayer): class OSC_VPlayer(BaseVPlayer):
def __init__(self,vfile=None, loop=False, mute=False): def __init__(self,vfile=None, loop=False, mute=False):
self.dispatcher = dispatcher.Dispatcher() self.dispatcher = dispatcher.Dispatcher()
addr = get_local_addr
self.ip,self.port = get_free_local_addr() self.ip,self.port = get_free_local_addr()
self.server = osc_server.ThreadingOSCUDPServer( (self.ip,self.port), self.server = osc_server.ThreadingOSCUDPServer( (self.ip,self.port),
self.dispatcher) self.dispatcher)