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

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

Issue 1984983002: Remove use of RtpHeaderExtension and clean up (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed nit Created 4 years, 7 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_rtcp_impl.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
index 214472f81ae3998cce8838ecca09eb40ac89d70c..2a9220d9f09255c85041fdfc4b4966850e117da9 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
@@ -29,15 +29,15 @@
namespace webrtc {
RTPExtensionType StringToRtpExtensionType(const std::string& extension) {
- if (extension == RtpExtension::kTOffset)
+ if (extension == RtpExtension::kTimestampOffsetUri)
return kRtpExtensionTransmissionTimeOffset;
- if (extension == RtpExtension::kAudioLevel)
+ if (extension == RtpExtension::kAudioLevelUri)
return kRtpExtensionAudioLevel;
- if (extension == RtpExtension::kAbsSendTime)
+ if (extension == RtpExtension::kAbsSendTimeUri)
return kRtpExtensionAbsoluteSendTime;
- if (extension == RtpExtension::kVideoRotation)
+ if (extension == RtpExtension::kVideoRotationUri)
return kRtpExtensionVideoRotation;
- if (extension == RtpExtension::kTransportSequenceNumber)
+ if (extension == RtpExtension::kTransportSequenceNumberUri)
return kRtpExtensionTransportSequenceNumber;
RTC_NOTREACHED() << "Looking up unsupported RTP extension.";
return kRtpExtensionNone;

Powered by Google App Engine
This is Rietveld 408576698