MixedRealityCompanionKit
MixedRealityCompanionKit copied to clipboard
SpectatorView Compositor OpenCVFrameProvider Concurrency
I am using OpenCVFrameProvider to take SpectatorView Videos with a GoPro Hero 5 Black and Razor Ripsaw Capture Card.
However, at FullHD and 30fps, the video stream in Unity is extremely choppy.
The reason seems to lie in the use of concurrency::create_task in OpenCVFrameProvider::Update(). If I change the code to just let the code in this method run synchronously, the video stream in unity is much smoother.