Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: webrtc/media/base/videoframe.h

Issue 2088953002: Add cricket::VideoFrame::frame_id() and set it to RTP timestamp. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/media/base/videoframe.h
diff --git a/webrtc/media/base/videoframe.h b/webrtc/media/base/videoframe.h
index 4015f906f93c4ee0894d7a7167f4d62bf1b7b7bb..fc9c3d8f4d93c3994fa0c15e1054b5bc7521da58 100644
--- a/webrtc/media/base/videoframe.h
+++ b/webrtc/media/base/videoframe.h
@@ -34,6 +34,9 @@ class VideoFrame {
virtual const rtc::scoped_refptr<webrtc::VideoFrameBuffer>&
video_frame_buffer() const = 0;
+ // Frame ID. Normally RTP timestamp when the frame was received using RTP.
+ virtual uint32_t frame_id() const = 0;
stefan-webrtc 2016/07/28 08:54:49 Maybe add "transport" to the name to make it more
Sergey Ulanov 2016/07/29 00:10:22 Done.
+
// System monotonic clock, same timebase as rtc::TimeMicros().
virtual int64_t timestamp_us() const = 0;
virtual void set_timestamp_us(int64_t time_us) = 0;

Powered by Google App Engine
This is Rietveld 408576698