We compared the RTSP communication sequences of XProtect 2025 R2 and 2024 R2 using Wireshark.
In both cases, RTSP exchanges continued after receiving 401 Unauthorized, and subsequent RTSP packets (e.g., CSeq: 4) included an Authorization header, so authentication succeeded.
However, in the subsequent RTSP exchange with 2025 R2, the SETUP for the URL returns 404 Not Found.
This suggests the direct cause may be that XProtect is not accepting the very URL it advertised.
Since 2024 R2 accepted streamid=0, please let us know if there were any implementation changes in 2025 R2.
■XProtect 2024 R2(XProtect2024R2_RTSP.pcapng)
No.2878: from client to XProtect: Protocol=RTSP OPTIONS rtsp://192.168.1.150:554/live/073f4570-5649-4f82-bde7-837627c3f8f4/ RTSP/1.0 (CSeq:2)
No.2880: from XProtect to client: Protocol=RTSP RTSP/1.0 200 OK
No.2882: from client to XProtect: Protocol=RTSP DESCRIBE rtsp://192.168.1.150:554/live/073f4570-5649-4f82-bde7-837627c3f8f4/ RTSP/1.0 (CSeq:3)
No.2884: from XProtect to client: Protocol=RTSP RTSP/1.0 401 Unauthorized
No.2886: from client to XProtect: Protocol=RTSP DESCRIBE rtsp://192.168.1.150:554/live/073f4570-5649-4f82-bde7-837627c3f8f4/ RTSP/1.0 (CSeq:4)
No.2888: from XProtect to client: Protocol=RTSP/SDP RTSP/1.0 200 OK
Content-Base: rtsp://192.168.1.150:554/live/073f4570-5649-4f82-bde7-837627c3f8f4/
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=control:streamid=0
No.2890: from client to XProtect: Protocol=RTSP SETUP rtsp://192.168.1.150:554/live/073f4570-5649-4f82-bde7-837627c3f8f4/streamid=0 RTSP/1.0 (CSeq:5)
No.2892: from XProtect to client: Protocol=RTSP RTSP/1.0 200 OK
Transport: RTP/AVP;unicast;client\_port=61290-61291;server\_port=4000-4001
No.2894: from client to XProtect: Protocol=RTSP PLAY rtsp://192.168.1.150:554/live/073f4570-5649-4f82-bde7-837627c3f8f4/ RTSP/1.0 (CSeq:6)
No.2896: from XProtect to client: Protocol=RTSP RTSP/1.0 200 OK
■XProtect 2025 R2(XProtect2025R2_RTSPerr.pcapng)
No.3621: from client to XProtect: Protocol=RTSP OPTIONS rtsp://172.16.3.170:554/live/849989a6-6c52-4cba-b0e6-9d1cc0320fb7/ RTSP/1.0 (CSeq:2)
No.3623: from XProtect to client: Protocol=RTSP RTSP/1.0 200 OK
No.3625: from client to XProtect: Protocol=RTSP DESCRIBE rtsp://172.16.3.170:554/live/849989a6-6c52-4cba-b0e6-9d1cc0320fb7/ RTSP/1.0 (CSeq:3)
No.3627: from XProtect to client: Protocol=RTSP RTSP/1.0 401 Unauthorized
No.3629: from client to XProtect: Protocol=RTSP DESCRIBE rtsp://172.16.3.170:554/live/849989a6-6c52-4cba-b0e6-9d1cc0320fb7/ RTSP/1.0 (CSeq:4)
No.3770: from XProtect to client: Protocol=RTSP/SDP RTSP/1.0 200 OK
Content-Base: rtsp://172.16.3.170:554/live/849989a6-6c52-4cba-b0e6-9d1cc0320fb7/
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=control:streamid=0
No.3772: from client to XProtect: Protocol=RTSP SETUP rtsp://172.16.3.170:554/live/849989a6-6c52-4cba-b0e6-9d1cc0320fb7/streamid=0 RTSP/1.0 (CSeq:5)
No.3990: from XProtect to client: Protocol=RTSP RTSP/1.0 404 Not Found
Best Regards.