nariakiiwatani / ofxNDI

NewTek NDI SDK Wrapper for openFrameworks.
https://ndi.tv/
MIT License
103 stars 19 forks source link

not receiving OSX #25

Closed steeley closed 2 years ago

steeley commented 3 years ago

Of 0.10.1, osx 10.13.6, xcode 9.2.

Receiver does not see sender. sender works fine. NDI monitor app. shows video from sender correctly.

How can this be fixed?

TIA

nariakiiwatani commented 3 years ago

I'm not sure but please make these sure

steeley commented 3 years ago

Yes these things are ok. I tried the example router and this shows the source name from your sender example.

if I add: sources_ = ofxNDI::listSources(); in setup then the receiver examle seems to work, and shows the name of the sender.

Maybe something is broken with finder_.watchSources() ??

nariakiiwatani commented 3 years ago

to make things clear, please check following.

steeley commented 3 years ago

I have tried what you suggested, but num_sources is always zero. But changing setup() makes it work as I mentioned:

void ofApp::setup(){
    NDIlib_initialize();
    ofBackground(0);
    ofSetFrameRate(60);
    finder_.watchSources();
   // uncomment this line to make watchSources work
   // sources_ = ofxNDI::listSources();
}