For reading a RTSP stream, see this post (Note that case was requiring jpeg output, in your case your would output BGRx from nvvidconv then videoconvert into BGR as in my previous post and you wouldn’t have to further decode the image).
For streaming the output, it would be more complicated, but you would try this one.