Skip to content

Conversation

@krueger-christian
Copy link

Issue

TuioInput class was missing the accessor ConnectionType. It has been removed with Commit 367fbccc. However, this accessor was essential for changing the connection type during runtime. This is necessary, for example, if the application switches between connection types that are defined via CLI parameters at app startup.

Solution

Restore the removed ConnectionType accessor, to allow changes of the connection type during runtime (requires also to call TuioInput.Reinit())

Further changes

  • solved bug in UdpPort accessor of TuioInput class. The set accessor wrote recursively to itself. This caused a stack overflow when setting UdpPort.
  • added a general get accessor for the TUIO port, that returns the port for UDP connections as well as websocket connections. This accessor can be used for writing logs or user feedback messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to set TUIO connection type during runtime has been removed

3 participants