Reply To: Frame rate issues in a client with Unity Syphon server

Home Forums Syphon Syphon Implementations – User Frame rate issues in a client with Unity Syphon server Reply To: Frame rate issues in a client with Unity Syphon server

#4908
Brian Chasalow
Participant

well, this line in the plugin has me concerned, because the context init’d from CGLGetCurrentContext() may not exist by the time it is published later on. When you resize/fullscreen/etc a unity window, it destroys and recreates the context. I’m not sure if this could lead to that grinding effect – usually if something like that were to cause an issue you will simply see nothing on screen. But it’s something I noticed in another plugin I’ve been working on and need to figure out a good solution for this one as well.

if(_unitySyphonServer == nil)
    {
        _unitySyphonServer = [[SyphonServer alloc] initWithName:@"Demo" context:CGLGetCurrentContext() options:nil];
        NSLog(@"creating Syphon Server");
    }