Index: talk/media/webrtc/webrtcvideoengine2.h |
diff --git a/talk/media/webrtc/webrtcvideoengine2.h b/talk/media/webrtc/webrtcvideoengine2.h |
index e30597584000c7198dc1e693b0fbefce3258ce95..2cbebf81d6304008289666f579defcf953a76640 100644 |
--- a/talk/media/webrtc/webrtcvideoengine2.h |
+++ b/talk/media/webrtc/webrtcvideoengine2.h |
@@ -393,6 +393,14 @@ class WebRtcVideoChannel2 : public rtc::MessageHandler, |
bool muted_ GUARDED_BY(lock_); |
VideoFormat format_ GUARDED_BY(lock_); |
int old_adapt_changes_ GUARDED_BY(lock_); |
+ |
+ // The timestamp of the first frame received |
+ // Used to generate the timestamps of subsequent frames |
+ int64_t first_frame_timestamp_ms_ GUARDED_BY(lock_); |
+ |
+ // The timestamp of the last frame received |
+ // Used to generate timestamp for the black frame when capturer is removed |
+ int64_t last_frame_timestamp_ms_ GUARDED_BY(lock_); |
}; |
// Wrapper for the receiver part, contains configs etc. that are needed to |