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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc

Issue 2911193002: Implement timing frames. (Closed)
Patch Set: Fix CE Created 3 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/modules/rtp_rtcp/source/rtp_receiver_video.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc b/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc
index debe836d8d70e853a36f8d32b9b59ad99ce9426f..500ef07807ae771126ed8214181433f8d21899f4 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc
@@ -103,6 +103,14 @@ int32_t RTPReceiverVideo::ParseRtpPacket(WebRtcRTPHeader* rtp_header,
rtp_header->header.extension.videoContentType;
}
+ if (rtp_header->header.extension.hasVideoTiming) {
+ rtp_header->type.Video.video_timing =
+ rtp_header->header.extension.videoTiming;
+ rtp_header->type.Video.video_timing.is_timing_frame = true;
+ } else {
+ rtp_header->type.Video.video_timing.is_timing_frame = false;
åsapersson 2017/06/12 14:33:42 maybe move to line 94 as others
ilnik 2017/06/13 08:43:13 Done.
+ }
+
rtp_header->type.Video.playout_delay =
rtp_header->header.extension.playout_delay;

Powered by Google App Engine
This is Rietveld 408576698