Frames streaming blocked in C# wrapper
| Camera Model | D435 | | Firmware Version | 5.10.13 | | Operating System & Version | Win 10 | | Platform | PC | | SDK Version | 2.17.0} | | Language | C# |
Issue Description
I've been using the C# wrapper for developing a software that performed the streaming of RGB and depth images. Everything worked fine with SDK version 2.16.0, but changing to 2.17.0 produced some issues. In fact, I am able to get some frames correctly and then the camera continuously streams the same RGB or depth frame (one streams works fine, while the other gets blocked). I correctly release all the resources and the objects, so no problem is present in that side. Moreover I can see that the camera is still streaming new images, but the frame is always the same. Unplugging and plugging again the device resume the correct streaming for some frames, that the same behavior as before is detected. Do you have any idea on how to solve this issue?
Thank you, Walter
Hi,
I don't know if your issue is the same, but maybe it's the same one that I reported three days ago and "resolved" today (making a lot of tests). This is my issue: https://github.com/IntelRealSense/librealsense/issues/3026#issue-397010477
I hope it can help you.
@walterbaccinelli, are you streaming the highest resolution depth and colour streams? I've seen the colour image 'sticking' before (updating every few seconds instead of ~30 times a second, depth remains at ~30fps) with that configuration, I assumed it was a USB bandwidth issue. Turning depth resolution down to 848480 was an effective workaround for me, though it would be nice to be able to use the 1280720 depth stream.
[Please Ignore - RealSense system comment]
[Please Ignore - RealSense system comment]
[Please Ignore - RealSense system comment]
@walterbaccinelli Do you get such problem to run the sample cs-tutorial-2-capture? I've tried both 640x480@30fps and 1280x720@30fps with cs-tutorial-2-capture but couldn't reproduce your problem.
@walterbaccinelli Any update about this issue? Looking forward to your update. Thanks!
Thank you @amatabuena, my issue was indeed very similar to yours. coping the frame before doing any operation seems to prevent the streams from get blocked.