diff --git a/src/fake_video_capturer.h b/src/fake_video_capturer.h index 3075525..4392eaf 100644 --- a/src/fake_video_capturer.h +++ b/src/fake_video_capturer.h @@ -35,10 +35,10 @@ struct FakeVideoCapturerConfig : sora::ScalableVideoTrackSourceConfig { }; class FakeVideoCapturer : public sora::ScalableVideoTrackSource { - friend class rtc::RefCountedObject; + FakeVideoCapturer(FakeVideoCapturerConfig config); + friend class webrtc::RefCountedObject; public: - FakeVideoCapturer(FakeVideoCapturerConfig config); static rtc::scoped_refptr Create( FakeVideoCapturerConfig config) { return rtc::make_ref_counted(std::move(config));