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:
@@ -23,6 +23,7 @@ std::unique_ptr<VideoEncoder> VideoEncoderFactory::CreateVideoEncoder(
|
||||
return std::make_unique<AomAv1Encoder>(AomAv1Encoder());
|
||||
} else {
|
||||
#if __APPLE__
|
||||
LOG_INFO("Use OpenH264 encoder");
|
||||
return std::make_unique<OpenH264Encoder>(OpenH264Encoder());
|
||||
#else
|
||||
if (hardware_acceleration) {
|
||||
|
||||
Reference in New Issue
Block a user