mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[fix] fix the issue where created video codec is different from the one negotiated
This commit is contained in:
@@ -261,7 +261,7 @@ int PeerConnection::CreateVideoCodec(bool av1, bool hardware_acceleration) {
|
||||
|
||||
hardware_acceleration_ = hardware_acceleration;
|
||||
|
||||
if (av1_encoding_) {
|
||||
if (av1) {
|
||||
if (hardware_acceleration_) {
|
||||
hardware_acceleration_ = false;
|
||||
LOG_WARN("Only support software codec for AV1");
|
||||
|
||||
Reference in New Issue
Block a user