how can i dvelop with the EGL Stream

Now I have some continuous frames. How can I use EGL Stream output these frames to the desktop continuously? the Sample nvm_eglstream can only be turned on and off one frame continuously. How can I output video stream continuously without closing?

Dear fixed-term.Zhenfeng.LIU,

Could you please refer to “Acquiring Multiple Frames” part in https://docs.nvidia.com/drive/active/5.1.0.2L/nvvib_docs/index.html#page/DRIVE_OS_Linux_SDK_Development_Guide%2FNvMedia%2Fnvmedia_nvm_eglstream.html for the case? Thanks.