Deepstream end pipline and quit

How can I quit deepstream pipeline correctly like GST_MESSAGE_EOS in bus_call .

what should i do?

• Hardware Platform (Jetson / GPU)
• DeepStream Version 5.0dp
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)

Can you clarify your requirement? Deepstream pipeline is a gstreamer pipeline, it can use all gstreamer messages, event and signal.