@@ -82,9 +82,6 @@ class UserTimestampTransformer : public webrtc::FrameTransformerInterface {
8282 void set_enabled (bool enabled);
8383 bool enabled () const ;
8484
85- // / Get the last received user timestamp (receiver side only)
86- std::optional<int64_t > last_user_timestamp () const ;
87-
8885 // / Lookup the user timestamp associated with a given RTP timestamp.
8986 // / Returns the user timestamp if found, nullopt otherwise.
9087 // / The entry is removed from the map after lookup.
@@ -121,9 +118,6 @@ class UserTimestampTransformer : public webrtc::FrameTransformerInterface {
121118 std::unordered_map<uint32_t ,
122119 rtc::scoped_refptr<webrtc::TransformedFrameCallback>>
123120 sink_callbacks_;
124- mutable std::atomic<int64_t > last_user_timestamp_{0 };
125- mutable std::atomic<bool > has_last_user_timestamp_{false };
126-
127121 // Send-side map: capture timestamp (us) -> user timestamp (us).
128122 // Populated by store_user_timestamp(), consumed by TransformSend()
129123 // via CaptureTime() lookup.
@@ -159,17 +153,10 @@ class UserTimestampHandler {
159153 void set_enabled (bool enabled) const ;
160154 bool enabled () const ;
161155
162- // / Get the last received user timestamp (receiver side only)
163- // / Returns -1 if no timestamp has been received yet
164- int64_t last_user_timestamp () const ;
165-
166156 // / Lookup the user timestamp for a given RTP timestamp (receiver side).
167157 // / Returns -1 if not found.
168158 int64_t lookup_user_timestamp (uint32_t rtp_timestamp) const ;
169159
170- // / Check if a user timestamp has been received
171- bool has_user_timestamp () const ;
172-
173160 // / Store a user timestamp for a given capture timestamp (sender side).
174161 // / Call this when capturing a video frame with a user timestamp.
175162 void store_user_timestamp (int64_t capture_timestamp_us,
0 commit comments