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

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

Issue 2431253003: Remove now unused code in RtpHeaderExtensionMap (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bb41b83aaa6813ad8b67f115623fd23662dd8557..a4a2b150b4416c451bbaedf519581d2de43d1226 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc
@@ -247,13 +247,8 @@ bool RTPSenderVideo::SendVideo(RtpVideoCodecTypes video_type,
// (e.g. a P-Frame) only if the current value is different from the previous
// value sent.
// Here we are adding it to every packet of every frame at this point.
- if (video_header && video_header->rotation != kVideoRotation_0) {
- // TODO(danilchap): Remove next call together with concept
- // of inactive extension. Now it helps to calulate total maximum size
- // or rtp header extensions that is used in FECPacketOverhead() function.
- rtp_sender_->ActivateCVORtpHeaderExtension();
+ if (video_header && video_header->rotation != kVideoRotation_0)
sprang_webrtc 2016/10/24 13:48:10 Just to be clear, how exactly is this rotation ext
danilchap 2016/10/24 14:27:25 No rotation extension means it is 0. Before my ref
sprang_webrtc 2016/10/25 07:47:00 Acknowledged. I interpreted the previous "rtp_sen
rtp_header->SetExtension<VideoOrientation>(video_header->rotation);
- }
size_t packet_capacity = rtp_sender_->MaxPayloadLength() -
FecPacketOverhead() -
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698