@kclee2001 , if I understand correctly..
you are connecting a USB camera to voxl2-mini and using voxl-uvc-server to read the camera images and send them out via MPA voxl-streamer is used to receive the raw frames from voxl-uvc-server, then compress and stream the video to another computer via rtsp protocol for testing purposes, you are disconnecting the USB camera from voxl2-mini voxl-streamer keeps running, but it has no input frames to encode and send out, so it does nothing if you plug the USB camera back into voxl2-mini and restart voxl-uvc-server, the video stream resumes.It sounds to me that the system is operating properly, but it just does not recover from unplugging the camera.
If you would like the voxl-uvc-server to recover from unplugging the camera, then you can do the following:
run voxl-uvc-server in foreground and see what happens when you unplug the USB camera (does it print any error messages) modify voxl-uvc-sever to exit if it detects camera disconnection : https://gitlab.com/voxl-public/voxl-sdk/services/voxl-uvc-server check the systemd service for voxl-uvc-server to make sure it is restarted automatically if it exits one thing to double check: if the voxl-uvc-server restarts before you plug the USB camera back in, will the voxl-uvc-server automatically detect it, or the camera needs to be plugged in before the voxl-uvc-server is restarted. (the reason why i am asking is because i don't have a usb camera to test this).Alex