Thank you for looking into this and for testing in the lab!
I have made a discovery that explains the “time jump,” but I still don’t understand why two servers streaming from the exact same H.264 camera behave differently.
Here is what I observed regarding the rtpTimestamp values:
-
Server 1 (25R3): Sends timestamps normalized to milliseconds (1 kHz).
-
Server 2 (26R1): Sends raw 90 kHz RTP clock ticks (standard RFC 3551 timescale for H.264).
When I divide Server 2’s rtpTimestamp by 90 (rtpTimestamp / 90), the calculated time aligns perfectly with the actual recording time and matches Server 1. This explains why it originally looked “several days ahead”
My core confusion is: Both servers are serving video from the exact same camera, and both are using the H.264 codec.
Why does one Milestone server normalize the WebRTC rtpTimestamp to 1 kHz while the other outputs raw 90 kHz ticks?
Is this difference caused by a change in WebRTC timestamp handling between 25R3 and 26R1, or is there a setting/configuration on the Recording Server or WebRTC gateway that forces one behavior over the other?