The attached document below outlines how to add a Control4 DS2 Door Station to a LILIN NVR using ONVIF.
If you are using an NVR 3 Series or higher it is recommended to also enable the 'Transcode JPEG' option on the NVR as shown in the guide below.
Enable NVR Transcode JPEG option
You may need to adjust a setting on the NVR for the channel the DS2 will be added to. Please ensure the RSTP Type is set to RTSP/TCP
RTSP URL: h264_stream