Get stream of data

I want to stream real-time data of depth, sensors, and object detection. How can I output this stream in real time to the Jetson Nano using the ZED 2i?
I am currently using an API to dump the data into a text file, but not as a continuous stream. I am not familiar with this approach, so can you provide any help?

Hi @Ibrahimsh104
have you explored the examples that are provided together with the ZED SDK or the projects available in this GitHub repository?