Commit 11a48ceb authored by philipel's avatar philipel Committed by Commit Bot

Don't create SimulcastEncoderAdapter for AV1.

Bug: none
Change-Id: I0bb244b3795da211d43a30684a61e079d127a68a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2489881Reviewed-by: default avatarGuido Urdaneta <guidou@chromium.org>
Commit-Queue: Philip Eliasson <philipel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819760}
parent cc39d222
......@@ -113,8 +113,10 @@ class EncoderAdapter : public webrtc::VideoEncoderFactory {
return nullptr;
if (base::EqualsCaseInsensitiveASCII(format.name.c_str(),
cricket::kVp9CodecName)) {
// For VP9, we don't use simulcast.
cricket::kVp9CodecName) ||
base::EqualsCaseInsensitiveASCII(format.name.c_str(),
cricket::kAv1CodecName)) {
// For VP9 and AV1 we don't use simulcast.
if (supported_in_hardware && supported_in_software) {
return Wrap(software_encoder_factory_.CreateVideoEncoder(format),
hardware_encoder_factory_->CreateVideoEncoder(format));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment