AlexxIT / go2rtc

Ultimate camera streaming application with support RTSP, RTMP, HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.
https://github.com/AlexxIT/Blog
MIT License
4.24k stars 345 forks source link

How to measure the latency? #1298

Open Chandramouli-P opened 1 month ago

Chandramouli-P commented 1 month ago

Hello,

Good morning. I am rendering the RTSP streams which are coming from the cameras on to web browser (Both H.264 and H.265). Could you please help me how to measure the latency for each stream? Thank you.

Best Regards, Chandramouli.

Chandramouli-P commented 1 month ago

Hello Alex,

Good morning and any help would be appreciated. Thank you.

Best Regards, Chandramouli.

felipecrs commented 4 weeks ago

@Chandramouli-P I would do the following:

  1. Enable camera's own timestamp
  2. Ensure its time setting is synchronized with your PC
  3. Try watching its stream and compare the seconds from the camera stream with the ones from your PC