This commit is contained in:
yumoqing 2021-01-23 18:55:05 +08:00
parent 253bf5d959
commit 85eafe1c11

View File

@ -26,8 +26,10 @@ class OSCServer(EventDispatcher):
self.osc_server.bind(bstr, api_f)
def info(self):
ip,port = self.osc_server.getaddress()
return {
"address":self.osc_server.getaddress()
"ip":ip,
"port":port
}
def stop(self):