Documentation of getCUDAStream()

I am trying to replicate the “depth sensing” example with STREAM as INPUT_TYPE. It seems that getCUDAStream() results into a segmentation fault while doing this. How do I get CUDA stream with STREAM input type? Or what is the correct way to run the depth sensing example with STREAM input?

It looks like you are confusing CUDA stream, that allow efficiant GPU processing and our streaming API that allows you to stream the camera data.
It looks like you want to use the streaming as input so take a look at this sample:

You will understand how to stream the Camera data (Sender) to another platerform (Receiver):
To connect the mentionned sample, add this line:

around here:

Thank you @SL-PY. The webinar document helped to understand what I was trying to do.