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

Unified Diff: webrtc/audio/audio_send_stream.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/audio/audio_send_stream.cc
diff --git a/webrtc/audio/audio_send_stream.cc b/webrtc/audio/audio_send_stream.cc
index c0a709e3c6296765df1cf6c0ab8ec6146010a636..e9659c67e8c48ecd3bf09369d27562322b1e5be3 100644
--- a/webrtc/audio/audio_send_stream.cc
+++ b/webrtc/audio/audio_send_stream.cc
@@ -79,11 +79,11 @@ AudioSendStream::AudioSendStream(
channel_proxy_->RegisterExternalTransport(config.send_transport);
for (const auto& extension : config.rtp.extensions) {
- if (extension.name == RtpExtension::kAbsSendTime) {
+ if (extension.uri == RtpExtension::kAbsSendTimeUri) {
channel_proxy_->SetSendAbsoluteSenderTimeStatus(true, extension.id);
- } else if (extension.name == RtpExtension::kAudioLevel) {
+ } else if (extension.uri == RtpExtension::kAudioLevelUri) {
channel_proxy_->SetSendAudioLevelIndicationStatus(true, extension.id);
- } else if (extension.name == RtpExtension::kTransportSequenceNumber) {
+ } else if (extension.uri == RtpExtension::kTransportSequenceNumberUri) {
channel_proxy_->EnableSendTransportSequenceNumber(extension.id);
} else {
RTC_NOTREACHED() << "Registering unsupported RTP extension.";

Powered by Google App Engine
This is Rietveld 408576698