Skip to content

Commit

Permalink
fix build with latest webrtc
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Apr 12, 2024
1 parent 98bc3f0 commit c81b483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/VideoEncoderFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class VideoEncoderFactory : public webrtc::VideoEncoderFactory {
}
virtual ~VideoEncoderFactory() override {}

std::unique_ptr<webrtc::VideoEncoder> CreateVideoEncoder(const webrtc::SdpVideoFormat& format) override {
std::unique_ptr<webrtc::VideoEncoder> Create(const webrtc::Environment & env, const webrtc::SdpVideoFormat& format) override {
RTC_LOG(LS_INFO) << "Create Null Encoder format:" << format.ToString();
return std::make_unique<NullEncoder>(format);
}
Expand Down

0 comments on commit c81b483

Please sign in to comment.