File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3633,10 +3633,10 @@ bool ParseRtpmapAttribute(absl::string_view line,
3633
3633
3634
3634
AudioContentDescription* audio_desc = media_desc->as_audio ();
3635
3635
for (const cricket::AudioCodec& existing_codec : audio_desc->codecs ()) {
3636
- // TODO(crbug.com/1338902) re-add check for clockrate.
3636
+ // TODO(crbug.com/1338902) re-add checks for clockrate and number of
3637
+ // channels.
3637
3638
if (!existing_codec.name .empty () && payload_type == existing_codec.id &&
3638
- (!absl::EqualsIgnoreCase (encoding_name, existing_codec.name ) ||
3639
- channels != existing_codec.channels )) {
3639
+ (!absl::EqualsIgnoreCase (encoding_name, existing_codec.name ))) {
3640
3640
rtc::StringBuilder description;
3641
3641
description
3642
3642
<< " Duplicate "
You can’t perform that action at this time.
0 commit comments