Remove CHECK for number of supported codecs in e2e test

This is to allow tests with more supported codecs even if a layered
codec is used.

Bug: none
Change-Id: I35b866993e8c3dd077ac5c0b566e15efcf4b41c1
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/231500
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Per Kjellander <perkj@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#34949}
This commit is contained in:
Per Kjellander 2021-09-08 13:06:46 +02:00 committed by WebRTC LUCI CQ
parent 034abc9581
commit 8e99c0160c

View File

@ -162,9 +162,6 @@ void ValidateParams(
RTC_CHECK_LT(*video_config.simulcast_config->target_spatial_index,
video_config.simulcast_config->simulcast_streams_count);
}
RTC_CHECK_EQ(p->video_codecs.size(), 1)
<< "Only 1 video codec is supported when simulcast is enabled in "
<< "at least 1 video config";
RTC_CHECK(!video_config.max_encode_bitrate_bps)
<< "Setting max encode bitrate is not implemented for simulcast.";
RTC_CHECK(!video_config.min_encode_bitrate_bps)