gscam icon indicating copy to clipboard operation
gscam copied to clipboard

Shutdown node when pipeline thread finishes

Open jeremyroy opened this issue 2 years ago • 0 comments

The node currently hangs if the pipeline thread finishes. This prevents the use of ROS launch configurations such as setting the node to "required" or respawning the node on exit. Respawning is particularily usefull when using gstreamer with rtsp if for whatever reason the network is unstable or if the rtsp server crashes - the entire system can be more robust to failure.

This PR makes sure the ROS2 node shuts down when the pipeline thread finishes.

jeremyroy avatar Jul 27 '22 18:07 jeremyroy