Home Assistant Camera to RTSP

Hello! I have a camera from tuya that does not support any local streaming like RTSP, it depends on the cloud. But their is a tuya intergration in HA that makes it possible to view the camera. But I need to record this camera in my NVR and therefore need a RTSP stream. Is their any way to convert HA dashboard camera to RTSP stream?

I am able to get HLS stream from HA dashboard but I dont know any way to convert HLS to RTSP.