Closed stephen-systemfriend closed 4 years ago
Hi @stephen-systemfriend What specifically is causing you problems? The initial frame drops before syncer picks up on both streams, or its sensitivity to the advertised FPS? The later is used for frame prediction, to reduce latency in some scenarios.
My expected result from running this script from an object in unity would be that it maybe drops a couple of frames at the start, then proceeds to producing one frame per update pretty consistently. Instead I find that roughly half of the time, it instead spits out the warning "colorframe was null". Im not certain why this happens, but I think its due to the system's sensitivity to the advertised FPS.
Perhaps it would be good if there was a variant of the Syncer or the Matcher (whichever it is) that is agnostic to the framerate specifically for use with software sources?
@stephen-systemfriend Sorry for late response. Is this issue still existing for you? Looking forward to your reply. Thanks!
@stephen-systemfrien Any update? Thanks!
Sorry, it's been really busy with other work, so I haven't been able to confirm, but as far as I can tell, it still drops a lot of frames once I connect it to the network device instead. I'm expecting degraded performance due to the latency, but I could do without it also halving the effective frame rate again by dropping a whole load more of the frames.
@stephen-systemfriend Any chance to confirm? And any other questions? Looking forward to your update.
@stephen-systemfriend Any update? Thanks!
@stephen-systemfriend As we didn't get response from you for weeks, will close this at the point. Please feel free to create another one if you still have questions or issues. Thanks!
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
For my use case (streaming the realsense data from a remote source across the internet then displaying it using the realsense tools), I will have a variable framerate for the input. However, the Matcher is very sensitive to framerate changes, and drops large quanties of whichever frame I add to the syncer first. Is there any way to fix this?
Also, sometime onNewSample is Null even when I have the rest of the pipeline attached to it.
here's my test code for reference.
`using System.Collections; using System.Collections.Generic; using UnityEngine; using Intel.RealSense; using System;
public class RSSoftwareDevTest : RsFrameProvider {
} `