Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: webrtc/media/base/videoengine_unittest.h

Issue 1655793003: Make cricket::VideoCapturer implement VideoSourceInterface (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added dummy capturerenderadapter.cc Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/media/base/videocapturer_unittest.cc ('k') | webrtc/media/base/videosinkinterface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/videoengine_unittest.h
diff --git a/webrtc/media/base/videoengine_unittest.h b/webrtc/media/base/videoengine_unittest.h
index a81fde99aa97e1b7d0ace2f7f686ff3f18ccf0cb..8a372a35be69fa81f42dbdede7f5a123f9eea7c1 100644
--- a/webrtc/media/base/videoengine_unittest.h
+++ b/webrtc/media/base/videoengine_unittest.h
@@ -86,21 +86,6 @@ class VideoEngineOverride : public T {
virtual ~VideoEngineOverride() {
}
bool is_camera_on() const { return T::GetVideoCapturer()->IsRunning(); }
- void set_has_senders(bool has_senders) {
- cricket::VideoCapturer* video_capturer = T::GetVideoCapturer();
- if (has_senders) {
- video_capturer->SignalVideoFrame.connect(this,
- &VideoEngineOverride<T>::OnLocalFrame);
- } else {
- video_capturer->SignalVideoFrame.disconnect(this);
- }
- }
- void OnLocalFrame(cricket::VideoCapturer*,
- const cricket::VideoFrame*) {
- }
- void OnLocalFrameFormat(cricket::VideoCapturer*,
- const cricket::VideoFormat*) {
- }
void TriggerMediaFrame(uint32_t ssrc,
cricket::VideoFrame* frame,
« no previous file with comments | « webrtc/media/base/videocapturer_unittest.cc ('k') | webrtc/media/base/videosinkinterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698