From c81b4831e5f3990eabe49a6d17e1a493801ac205 Mon Sep 17 00:00:00 2001 From: Michel Promonet Date: Fri, 12 Apr 2024 22:39:37 +0200 Subject: [PATCH] fix build with latest webrtc --- inc/VideoEncoderFactory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/VideoEncoderFactory.h b/inc/VideoEncoderFactory.h index 8d7e299d..6657b49a 100644 --- a/inc/VideoEncoderFactory.h +++ b/inc/VideoEncoderFactory.h @@ -22,7 +22,7 @@ class VideoEncoderFactory : public webrtc::VideoEncoderFactory { } virtual ~VideoEncoderFactory() override {} - std::unique_ptr CreateVideoEncoder(const webrtc::SdpVideoFormat& format) override { + std::unique_ptr Create(const webrtc::Environment & env, const webrtc::SdpVideoFormat& format) override { RTC_LOG(LS_INFO) << "Create Null Encoder format:" << format.ToString(); return std::make_unique(format); }