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..0edc47824ce7a92cad2c8c9fa52b25fae6e83983 100644 |
--- a/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc |
+++ b/webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc |
@@ -91,6 +91,7 @@ int32_t RTPReceiverVideo::ParseRtpPacket(WebRtcRTPHeader* rtp_header, |
rtp_header->type = parsed_payload.type; |
rtp_header->type.Video.rotation = kVideoRotation_0; |
rtp_header->type.Video.content_type = VideoContentType::UNSPECIFIED; |
+ rtp_header->type.Video.video_timing.is_timing_frame = false; |
// Retrieve the video rotation information. |
if (rtp_header->header.extension.hasVideoRotation) { |
@@ -103,6 +104,12 @@ int32_t RTPReceiverVideo::ParseRtpPacket(WebRtcRTPHeader* rtp_header, |
rtp_header->header.extension.videoContentType; |
} |
+ if (rtp_header->header.extension.has_video_timing) { |
+ rtp_header->type.Video.video_timing = |
+ rtp_header->header.extension.video_timing; |
+ rtp_header->type.Video.video_timing.is_timing_frame = true; |
+ } |
+ |
rtp_header->type.Video.playout_delay = |
rtp_header->header.extension.playout_delay; |