This commit is contained in:
yumoqing 2021-01-24 10:30:46 +08:00
parent 6be5c054b8
commit 081392e388

View File

@ -55,6 +55,10 @@ class OSCServer(EventDispatcher):
data = data.encode('utf-8') data = data.encode('utf-8')
bstr = '/%s' % api bstr = '/%s' % api
bstr = bstr.encode('utf-8') bstr = bstr.encode('utf-8')
print('api=', bstr,
'data=', data,
'addr=', addr,
'port=',port)
self.osc_server.send_message(bstr, [data], addr, port) self.osc_server.send_message(bstr, [data], addr, port)
def broadcast(self, data): def broadcast(self, data):