Closed RomainAl closed 4 years ago
Hi! thank you for trying this addon!
I don't know this is it but I found that saveFullViewport
stores the pixel data in BGRA format.
I'm not sure if it matters or not, it at least is worth to check.
So you can try...
ofFbo::readToPixels
for NDI and ofFbo::draw
for screen.or
color_format
argument for ofxNDIReceiver::setup
It seems to be ok right now with your first solution ! Thx and very happy to use your add-on !!!!!!!!!!
nice :)
Closing
Hi ! Thanks for this addon !
When I'm trying your "example-sender", it's perfect and no lagging stream for the way :
video_.send(camera_.getPixels());
With camera.getPixels().size() = 8294400 But this way lag a lot :ofPixels pixels;
ofGetGLRenderer()->saveFullViewport(pixels);
`video.send(pixels);` while pixels.size() = 3145728Is that normal ? Is there any optimization to do in code for streaming the principal canvas without lagging ? Thx