These are the (general) steps I used to setup and configure my Foscam camera.
rtsp://LOGIN:PASSWORD@MYSUB.duckdns.org:PORT/videoMain