I tried to send a UnixTime Tick from UnityOSC to a client (pyOSC) as a long type, but I didn't receive it.
OSCServer: KeyError on request from localhost:49206: 'h'
pyOSC does not support receiving int64
The typeTag for the received message is determined in def decode OSC (data):
Since there is a definition of def _readLong (data):
but it is not called when typeTag is h
Fixed to call _readLong () when typeTag is h
In particular
table = {"i":_readInt, "f":_readFloat, "s":_readString, "b":_readBlob, "d":_readDouble, "t":_readTimeTag}
To
table = {"i":_readInt, "h":_readLong, "f":_readFloat, "s":_readString, "b":_readBlob, "d":_readDouble, "t":_readTimeTag}
Fixed to
-OSC Specifications (Japanese translation )) According to this, it seems that 64-bit integers do not have to be recognized, so this problem is not simply a bug of pyOSC. --For the time being, I sent Pull Riku ――If you want to send the time like this time, it may be better to use the time tag (type tag: t). --typeTag: What is the acronym for h?
Recommended Posts