Since the ability to add custom channels was added I have been using that feature to view my security cameras (UniFi Protect) from my TVs - this worked great up until the Protect 2.0 version was released and since then it's been very problematic. When accessing any camera's stream from the guide the image will come up frozen with a spinner on screen in the timeline for about 5 minutes then it will play the delayed stream for some time before the image freezes. I have tried disabling the RTSP stream for a camera and re-creating it, changing the frame rate and quality but nothing helps. I would reach out to Ubiquiti but the RTSP stream will play without issue in any other player I throw at it. I looked for others who might have had this issue on here but found none and can't imagine I am the only one but maybe so.
The following is in the diagnostic logs when I try to stream a camera.
2022/07/15 12:34:42.341135 [TNR] Opened connection to M3U-Cameras for ch1000 Kevin’s Driveway
2022/07/15 12:34:43.774418 [HLS] ffmpeg: rtsp-1000: [mpegts @ 0000000001bde5c0] Non-monotonous DTS in output stream 0:0; previous: 22493, current: 3749; changing to 22494. This may result in incorrect timestamps in the output file.
2022/07/15 12:34:43.774418 [HLS] ffmpeg: rtsp-1000: [mpegts @ 0000000001bde5c0] Non-monotonous DTS in output stream 0:0; previous: 22494, current: 7498; changing to 22495. This may result in incorrect timestamps in the output file.
2022/07/15 12:34:43.774418 [HLS] ffmpeg: rtsp-1000: [mpegts @ 0000000001bde5c0] Non-monotonous DTS in output stream 0:0; previous: 22495, current: 11247; changing to 22496. This may result in incorrect timestamps in the output file.
2022/07/15 12:34:43.774418 [HLS] ffmpeg: rtsp-1000: [mpegts @ 0000000001bde5c0] Non-monotonous DTS in output stream 0:0; previous: 22496, current: 14996; changing to 22497. This may result in incorrect timestamps in the output file.
2022/07/15 12:34:43.774418 [HLS] ffmpeg: rtsp-1000: [mpegts @ 0000000001bde5c0] Non-monotonous DTS in output stream 0:0; previous: 22497, current: 18745; changing to 22498. This may result in incorrect timestamps in the output file.
2022/07/15 12:34:43.774418 [HLS] ffmpeg: rtsp-1000: [mpegts @ 0000000001bde5c0] Non-monotonous DTS in output stream 0:0; previous: 22498, current: 22494; changing to 22499. This may result in incorrect timestamps in the output file.
2022/07/15 12:36:46.738741 [HLS] ffmpeg: rtsp-1000: [rtsp @ 00000000012824c0] max delay reached. need to consume packet
2022/07/15 12:36:46.741648 [HLS] ffmpeg: rtsp-1000: [rtsp @ 00000000012824c0] RTP: missed 2 packets
2022/07/15 12:38:38.747381 [HLS] ffmpeg: rtsp-1000: [rtsp @ 00000000012824c0] max delay reached. need to consume packet
2022/07/15 12:38:38.753544 [HLS] ffmpeg: rtsp-1000: [rtsp @ 00000000012824c0] RTP: missed 12 packets
2022/07/15 12:39:26.698993 [HLS] ffmpeg: rtsp-1000: [rtsp @ 00000000012824c0] max delay reached. need to consume packet
2022/07/15 12:39:26.698993 [HLS] ffmpeg: rtsp-1000: [rtsp @ 00000000012824c0] RTP: missed 1 packets
Submitted diagnostic 809407fa-46b4-4f7f-bfdb-9084334810c6