webrtc/api/audio_codecs/opus
Ivo Creusen deb1b1bc70 Always call IsOk() to ensure audio codec configuration is valid when negotiating.
We should avoid creating codecs with invalid parameters, since this can
expose security issues. For many codecs the IsOk() method to check the
codec config is only called in DCHECKs. This CL ensures IsOk() is always
called, also in non-debug builds.

Bug: chromium:1265806
Change-Id: Ibd3c6c65d3bb547cd2603e11808ac40ac693a8b1
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/238801
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Ivo Creusen <ivoc@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35422}
2021-11-26 10:11:21 +00:00
..
audio_decoder_multi_channel_opus.cc Decoder for multistream Opus. 2019-04-08 16:15:37 +00:00
audio_decoder_multi_channel_opus.h Decoder for multistream Opus. 2019-04-08 16:15:37 +00:00
audio_decoder_multi_channel_opus_config.h Set the maximum number of audio channels to 24 2021-11-16 17:01:54 +00:00
audio_decoder_opus.cc Always call IsOk() to ensure audio codec configuration is valid when negotiating. 2021-11-26 10:11:21 +00:00
audio_decoder_opus.h AudioDecoderOpus: Add support for 16 kHz output sample rate 2019-05-29 12:42:38 +00:00
audio_encoder_multi_channel_opus.cc Encoder side of Multistream Opus. 2019-04-25 15:07:38 +00:00
audio_encoder_multi_channel_opus.h Encoder side of Multistream Opus. 2019-04-25 15:07:38 +00:00
audio_encoder_multi_channel_opus_config.cc Remove tautological 'unsigned expr < 0' comparisons 2021-04-12 11:40:14 +00:00
audio_encoder_multi_channel_opus_config.h Encoder side of Multistream Opus. 2019-04-25 15:07:38 +00:00
audio_encoder_opus.cc Always call IsOk() to ensure audio codec configuration is valid when negotiating. 2021-11-26 10:11:21 +00:00
audio_encoder_opus.h Audio codecs API: Remove some weasel words in the docs 2018-10-22 08:52:15 +00:00
audio_encoder_opus_config.cc Remove tautological 'unsigned expr < 0' comparisons 2021-04-12 11:40:14 +00:00
audio_encoder_opus_config.h Use backticks not vertical bars to denote variables in comments for /api 2021-07-26 18:27:34 +00:00
BUILD.gn Use absl_deps in order to preapre to the Abseil component build release. 2020-06-08 12:59:40 +00:00