From: Dan Minor Date: Mon, 13 Aug 2018 08:34:00 -0400 Subject: Bug 1376873 - Allow single channel opus; r=padenot Differential Revision: https://phabricator.services.mozilla.com/D7469 Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/92a7c3eee9f0c80ffbf79fdab8f8f2b8f6bd7701 --- modules/audio_coding/codecs/opus/audio_encoder_opus.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/audio_coding/codecs/opus/audio_encoder_opus.cc b/modules/audio_coding/codecs/opus/audio_encoder_opus.cc index 51b0fcd492..17e0e33b1d 100644 --- a/modules/audio_coding/codecs/opus/audio_encoder_opus.cc +++ b/modules/audio_coding/codecs/opus/audio_encoder_opus.cc @@ -240,7 +240,7 @@ std::unique_ptr AudioEncoderOpusImpl::MakeAudioEncoder( absl::optional AudioEncoderOpusImpl::SdpToConfig( const SdpAudioFormat& format) { if (!absl::EqualsIgnoreCase(format.name, "opus") || - format.clockrate_hz != kRtpTimestampRateHz || format.num_channels != 2) { + format.clockrate_hz != kRtpTimestampRateHz) { return absl::nullopt; }