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

Unified Diff: webrtc/audio/audio_receive_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 | « no previous file | webrtc/audio/audio_send_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/audio/audio_receive_stream.cc
diff --git a/webrtc/audio/audio_receive_stream.cc b/webrtc/audio/audio_receive_stream.cc
index c325b9c9bc3fdb1f7b26bda8a42528e990e993a6..cc30939b92134af837ce91d76ec350d5ce570258 100644
--- a/webrtc/audio/audio_receive_stream.cc
+++ b/webrtc/audio/audio_receive_stream.cc
@@ -123,6 +123,9 @@ AudioReceiveStream::AudioReceiveStream(
bool registered = rtp_header_parser_->RegisterRtpHeaderExtension(
kRtpExtensionTransportSequenceNumber, extension.id);
RTC_DCHECK(registered);
+ } else if (extension.uri == RtpExtension::kAbsSendTimeUri) {
+ LOG(LS_WARNING) << RtpExtension::kAbsSendTimeUri
+ << " is no longer supported for audio.";
} else {
RTC_NOTREACHED() << "Unsupported RTP extension.";
}
« no previous file with comments | « no previous file | webrtc/audio/audio_send_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698