webrtc/api/audio_codecs/opus
Alessio Bazzica cd013b1d59 Opus decoder: stereo decoding by default (behind field trial)
- Add `WebRTC-Audio-OpusDecodeStereoByDefault` field trial
- Behind that field trial, `AudioDecoderOpus::SdpToConfig` uses 2
  instead of 1 as default number of channels when the `stereo` codec
  param is unspecified
- Instead of wiring up `FieldTrialsView` to `SdpToConfig`, which
  requires API changes that break downstream projects, a change in
  `AudioDecoderOpus::Config` is made to signal when the number of
  channels is forced via SDP config

Bug: webrtc:379996136
Change-Id: If70eb19bc7e3bc74dd0423610cb04ae33ea602fe
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/368860
Commit-Queue: Alessio Bazzica <alessiob@webrtc.org>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Jakob Ivarsson‎ <jakobi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43440}
2024-11-22 07:37:10 +00:00
..
audio_decoder_multi_channel_opus.cc Comment unused variables in implemented functions 6\n 2024-10-28 11:59:51 +00:00
audio_decoder_multi_channel_opus.h Migrate absl::optional to std::optional 2024-09-02 12:16:47 +00:00
audio_decoder_multi_channel_opus_config.h Make header files self contained. 2022-10-08 08:38:36 +00:00
audio_decoder_opus.cc Opus decoder: stereo decoding by default (behind field trial) 2024-11-22 07:37:10 +00:00
audio_decoder_opus.h Opus decoder: stereo decoding by default (behind field trial) 2024-11-22 07:37:10 +00:00
audio_decoder_opus_unittest.cc Opus decoder: stereo decoding by default (behind field trial) 2024-11-22 07:37:10 +00:00
audio_encoder_multi_channel_opus.cc Comment unused variables in implemented functions 6\n 2024-10-28 11:59:51 +00:00
audio_encoder_multi_channel_opus.h Migrate absl::optional to std::optional 2024-09-02 12:16:47 +00:00
audio_encoder_multi_channel_opus_config.cc Format ^(api|call|common_audio|examples|media|net|p2p|pc)/ 2023-05-03 11:09:26 +00:00
audio_encoder_multi_channel_opus_config.h [iwyu][1\n] Applying to api/[a-s]* 2024-06-19 06:19:20 +00:00
audio_encoder_opus.cc Migrate absl::optional to std::optional 2024-09-02 12:16:47 +00:00
audio_encoder_opus.h Migrate absl::optional to std::optional 2024-09-02 12:16:47 +00:00
audio_encoder_opus_config.cc Don't use low complexity Opus on all ARM devices. 2022-12-20 10:30:30 +00:00
audio_encoder_opus_config.h Migrate absl::optional to std::optional 2024-09-02 12:16:47 +00:00
BUILD.gn Opus decoder: stereo decoding by default (behind field trial) 2024-11-22 07:37:10 +00:00