Endpoint Manager Yealink SRTP Encryption

I’m using PJSIP

One details: the transport is set to UDP and not TLS (I know it’s not logical but for now, I’m having a hardtime getting the Yealink phones to work in TLS, but I’m working on it). Could this influence the SRTP in the template ? These are two different settings but I’m wondering if there is a check in the background, something like “If Transport = UDP, then Encryption = none”