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

Unified Diff: webrtc/audio/audio_send_stream.cc

Issue 2473663002: Fix crash when registering abs-send-time to AudioSend/ReceiveStream. (Closed)
Patch Set: Created 4 years, 1 month 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/audio/audio_receive_stream.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/audio/audio_send_stream.cc
diff --git a/webrtc/audio/audio_send_stream.cc b/webrtc/audio/audio_send_stream.cc
index 39066720cb3201bd098d5686b7c2c20c7ab7e0f2..ad6366bc8095deebe830b33c9115cf77afe83adf 100644
--- a/webrtc/audio/audio_send_stream.cc
+++ b/webrtc/audio/audio_send_stream.cc
@@ -79,6 +79,9 @@ AudioSendStream::AudioSendStream(
channel_proxy_->SetSendAudioLevelIndicationStatus(true, extension.id);
} else if (extension.uri == RtpExtension::kTransportSequenceNumberUri) {
channel_proxy_->EnableSendTransportSequenceNumber(extension.id);
+ } else if (extension.uri == RtpExtension::kAbsSendTimeUri) {
+ LOG(LS_WARNING) << RtpExtension::kAbsSendTimeUri
+ << " is no longer supported for audio.";
} else {
RTC_NOTREACHED() << "Registering unsupported RTP extension.";
}
« no previous file with comments | « webrtc/audio/audio_receive_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698