prominenceai / deepstream-services-library

A shared library of on-demand DeepStream Pipeline Services for Python and C/C++
MIT License
288 stars 67 forks source link

Window Sink to initiate Pipeline Stop and main-loop quit if there are no added "Delete Event Handlers" #1292

Open rjhowell44 opened 2 months ago

rjhowell44 commented 2 months ago

Currently, the client must register a Delete Event Handler to be called on window delete event (close) and stop the Pipeline and quit the main-loop.

Changing the default behavior of the Window Sinks to send an application message to the Pipeline State Manager to handle the pipeline stop and quit the main-loop if there are no registered client handlers.