Lines Matching defs:timestamp

40   uint32_t timestamp = 0;
43 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp));
45 timestamp -= kTimestampTicksPerMs;
46 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp));
48 timestamp -= kTimestampTicksPerMs;
51 // has a much smaller RTP timestamp than the newer.
52 EXPECT_FALSE(RtpToNtpMs(timestamp, rtcp, &timestamp_in_ms));
59 uint32_t timestamp = 0xFFFFFFFF;
62 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp));
64 timestamp += kTimestampTicksPerMs;
65 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp));
68 // Since this RTP packet has the same timestamp as the RTCP packet constructed
79 uint32_t timestamp = 0xFFFFFFFF - 2 * kTimestampTicksPerMs;
80 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp));
82 timestamp += kTimestampTicksPerMs;
83 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp));
85 timestamp += kTimestampTicksPerMs;
87 EXPECT_TRUE(RtpToNtpMs(timestamp, rtcp, &timestamp_in_ms));
88 // Since this RTP packet has the same timestamp as the RTCP packet constructed
99 uint32_t timestamp = 0;
100 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp));
102 timestamp += kTimestampTicksPerMs;
103 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp));
105 timestamp -= 2*kTimestampTicksPerMs;
107 EXPECT_FALSE(RtpToNtpMs(timestamp, rtcp, &timestamp_in_ms));
116 uint32_t timestamp = 0xFFFFFFFF;
117 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp));
119 timestamp += kTimestampTicksPerMs;
120 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp));
122 timestamp -= kTimestampTicksPerMs;
124 EXPECT_TRUE(RtpToNtpMs(timestamp, rtcp, &timestamp_in_ms));
136 uint32_t timestamp = 0;
137 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp));
139 timestamp -= kTimestampTicksPerMs;
140 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp));
142 timestamp += 2*kTimestampTicksPerMs;
144 EXPECT_FALSE(RtpToNtpMs(timestamp, rtcp, &timestamp_in_ms));