You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use python-osc to make OBS receive and send OSC messages. This OBS plugin uses python-osc to send messages. Inside that code, all osc_server code is commented because it didn't work. But there is a new pull request that allows to do import osc_server, so it would can receive messages.
To receive messages, it is necessary to run server.serve_forever() but this function hangs/freezes OBS waiting for OSC messages. It receives them, it can print messages, it works... but I can't use OBS because it is frozen.
By doing this, I get this:
print(server.serve_forever.__doc__)
Handle one request at a time until shutdown.
Polls for shutdown every poll_interval seconds. Ignores
self.timeout. If you need to do periodic tasks, do them in
another thread.
How should I run server.serve_forever() in another thread?
The text was updated successfully, but these errors were encountered:
I'm trying to use python-osc to make OBS receive and send OSC messages. This OBS plugin uses python-osc to send messages. Inside that code, all osc_server code is commented because it didn't work. But there is a new pull request that allows to do
import osc_server
, so it would can receive messages.To receive messages, it is necessary to run
server.serve_forever()
but this function hangs/freezes OBS waiting for OSC messages. It receives them, it can print messages, it works... but I can't use OBS because it is frozen.By doing this, I get this:
How should I run
server.serve_forever()
in another thread?The text was updated successfully, but these errors were encountered: