As of May 2022:
Home>Protect>Unifi Devices>(select camera)>Settings>Advanced>(toggle which resolution you want)>and then you will get a link such as:
rtsps://192.168.1.1:7441/QxJCVMefFHfBnqrp?enableSrtp
this link will need to be modified in three ways.