keijiro / KlakNDI

NDI® plugin for Unity
https://ndi.video
Other
768 stars 139 forks source link

Latency #48

Closed LamaCabanon closed 4 years ago

LamaCabanon commented 4 years ago

Hello Kejiro,

First, thanks for this plugin, which is really great.

However I have a small issue with it : When I just launch my build all is working fine, no latency, however after approximately 10 seconds, I start to have some latency, I would say like 100/150 ms, it's really not that much, but for my use it's still too much...

The problem is for receiver, when NDI come from VJing software. I also input some DMX ( through Artnet ) from this same software, and there is no latency, so I guess the problem is coming from your NDI package, not from my scene.

I'm really new into Unity and code, sorry if I forget something.

Thank you ! Thomas.

keijiro commented 4 years ago

First of all, I'd like to know your setup. How are the sender and the receiver connected? How fast is the connection? What about ping value? Or are these apps running on the same computer?

LamaCabanon commented 4 years ago

My setup is quit simple :

keijiro commented 4 years ago

Thanks for the additional information.

Before deep-diving into the issue, how about using Spout instead of NDI?

https://github.com/keijiro/KlakSpout

Spout is a superior solution for local texture sharing. You can share textures between Resolume and Unity without spending CPU time nor introducing latency.

keijiro commented 4 years ago

I'm closing this issue now. Please feel free to reopen it if it sill reproduces with the latest version (v1.0.0).