Closed mdodis closed 1 year ago
We already have had same issues here. https://github.com/Unity-Technologies/com.unity.webrtc/issues/803
Duplicate of #803
@mdodis Please post the comment into #803 if you have another opinion about the performance issue. Thank you.
Package version
3.0.0-pre.1
Environment
Steps To Reproduce
Current Behavior
By looking at the profiler, the render thread spends a lot of time on
OnFrameCaptured
, as mentioned in a previosuly closed issue. In my measurements it was ~15ms, which can take our previously native 72 FPS down to 30 FPS. And that it is with a very simple VR scene (2 cubes and a cylinder only)Expected Behavior
Closer to native 72 FPS while streaming (with a smaller overhead at least). I don't think
OnFrameCaptured
should be taking that long given the circumstances.Anything else?
No response