Use VideoSourceInterface for owning test video sources
CallTest, VideoQualityTest and VideoAnalyzer used test::TestVideoCapturer
as an interface for video sources. Change to use VideoSourceInterface instead,
since that's all they need.
This is a preparation for making test::VcmCapturer usable as a
VideoTrackSource, and replace use of cricket::VideoCapturer in example code.
Bug: webrtc:6353
Change-Id: I445f5f6f9b7342230b89f53a5722df9c9e92834f
Reviewed-on: https://webrtc-review.googlesource.com/c/114881
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26047}
diff --git a/test/call_test.h b/test/call_test.h
index edd7712..220900b 100644
--- a/test/call_test.h
+++ b/test/call_test.h
@@ -192,8 +192,8 @@
std::vector<FlexfecReceiveStream*> flexfec_receive_streams_;
test::FrameGeneratorCapturer* frame_generator_capturer_;
- std::vector<rtc::VideoSourceInterface<VideoFrame>*> video_sources_;
- std::vector<std::unique_ptr<TestVideoCapturer>> video_capturers_;
+ std::vector<std::unique_ptr<rtc::VideoSourceInterface<VideoFrame>>>
+ video_sources_;
DegradationPreference degradation_preference_ =
DegradationPreference::MAINTAIN_FRAMERATE;