I am trying to connect to an IP camera using Onvif. This camera is not in my network and has been made available to me through an external IP address. When using the 'GetStreamUri' function I get a RTSP link with the internal IP address of the camera, this will not work. When I replace the IP manually it works just fine.
Does anybody have any other suggestions on how to handle this? Replacing the IP manually works but is not a very nice solution.