Index: webrtc/media/engine/webrtcvoiceengine.cc |
diff --git a/webrtc/media/engine/webrtcvoiceengine.cc b/webrtc/media/engine/webrtcvoiceengine.cc |
index 09a072a5f3d9013b54251494d5cdb43047e8bbc8..95b08e71587e2aa970834b9c60b9fe41d9907d66 100644 |
--- a/webrtc/media/engine/webrtcvoiceengine.cc |
+++ b/webrtc/media/engine/webrtcvoiceengine.cc |
@@ -951,16 +951,17 @@ const std::vector<AudioCodec>& WebRtcVoiceEngine::codecs() { |
RtpCapabilities WebRtcVoiceEngine::GetCapabilities() const { |
RTC_DCHECK(signal_thread_checker_.CalledOnValidThread()); |
RtpCapabilities capabilities; |
- capabilities.header_extensions.push_back(RtpHeaderExtension( |
- kRtpAudioLevelHeaderExtension, kRtpAudioLevelHeaderExtensionDefaultId)); |
capabilities.header_extensions.push_back( |
- RtpHeaderExtension(kRtpAbsoluteSenderTimeHeaderExtension, |
- kRtpAbsoluteSenderTimeHeaderExtensionDefaultId)); |
+ webrtc::RtpExtension(webrtc::RtpExtension::kAudioLevelUri, |
+ webrtc::RtpExtension::kAudioLevelDefaultId)); |
+ capabilities.header_extensions.push_back( |
+ webrtc::RtpExtension(webrtc::RtpExtension::kAbsSendTimeUri, |
+ webrtc::RtpExtension::kAbsSendTimeDefaultId)); |
if (webrtc::field_trial::FindFullName("WebRTC-Audio-SendSideBwe") == |
"Enabled") { |
- capabilities.header_extensions.push_back(RtpHeaderExtension( |
- kRtpTransportSequenceNumberHeaderExtension, |
- kRtpTransportSequenceNumberHeaderExtensionDefaultId)); |
+ capabilities.header_extensions.push_back(webrtc::RtpExtension( |
+ webrtc::RtpExtension::kTransportSequenceNumberUri, |
+ webrtc::RtpExtension::kTransportSequenceNumberDefaultId)); |
} |
return capabilities; |
} |