Any way to quickly check if the rtsp source is available or not

I have a scenario in which some sort of probe is needed to check if rtsp source is available again after for example a camera is unplugged and then replugged back in order to restart the pipeline automatically.

Any good ideas for this type of probe?

I guess a simple TCP connect on the right IP/port would do the trick then? Or what were you looking for?

1 Like

Thanks for your reply. Will try it out. I tried to set pipeline to playing state and get error message for disconnection state. But this seems to take long.