Client loses connection when Server changes context

Home Forums Syphon Syphon Development – Developer Client loses connection when Server changes context

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29202
    MusicMan3001
    Participant

    It seems that a weakness of the Syphon API is that a Server cannot have its context changed, but rather must be completely released and reallocated with a new context. This causes the client to lose the connection, even if the Server name stays the same.

    Have you considered this?

    #29248
    bangnoise
    Keymaster

    Yep, seems to be a recent theme…

    http://v002.info/forums/topic/syphoninject/#post-27198

    We’ll address it – I’ve just opened an issue

    https://github.com/Syphon/Syphon-Framework/issues/6

    #31796
    MusicMan3001
    Participant

    For my project, I modified the Syphon framework code to add the “replaceCGLContext” method as demonstrated by zakk in SyphonInject, and it seems to work perfectly. The advantage of this (as opposed to the other proposed solution, which is for clients to pick up subsequent identical servers) is that it doesn’t require modification to the client code, so it will work with all existing clients.

    #31799
    bangnoise
    Keymaster

    noted

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.