Set UDP packet TTL and RTP payload type depending on link parameters