| Index: webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc
|
| index 849ed78eadc07a94ad988683cef58c330701f89c..b9609e046e07b877b5b2d3333f7a277fdfd48ccb 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc
|
| @@ -324,6 +324,11 @@ bool RTPSenderVideo::SendVideo(RtpVideoCodecTypes video_type,
|
| current_rotation != kVideoRotation_0)
|
| rtp_header->SetExtension<VideoOrientation>(current_rotation);
|
| last_rotation_ = current_rotation;
|
| + // Report content type only for key frames.
|
| + if (frame_type == kVideoFrameKey &&
|
| + video_header->content_type != VideoContentType::kUnspecified)
|
| + rtp_header->SetExtension<VideoContentTypeExtension>(
|
| + video_header->content_type);
|
| }
|
|
|
| // FEC settings.
|
|
|