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

Side by Side Diff: talk/app/webrtc/videosourceproxy.h

Issue 1664773002: Added VideoTrackInterface::GetSink method, for use by VideoRtpReceiver. Get rid of FrameInput. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Delete FrameInput method and FrameInputWrapper class. 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 27 matching lines...) Expand all
38 // signaling thread. 38 // signaling thread.
39 BEGIN_PROXY_MAP(VideoSource) 39 BEGIN_PROXY_MAP(VideoSource)
40 PROXY_CONSTMETHOD0(SourceState, state) 40 PROXY_CONSTMETHOD0(SourceState, state)
41 PROXY_CONSTMETHOD0(bool, remote) 41 PROXY_CONSTMETHOD0(bool, remote)
42 PROXY_METHOD0(cricket::VideoCapturer*, GetVideoCapturer) 42 PROXY_METHOD0(cricket::VideoCapturer*, GetVideoCapturer)
43 PROXY_METHOD0(void, Stop) 43 PROXY_METHOD0(void, Stop)
44 PROXY_METHOD0(void, Restart) 44 PROXY_METHOD0(void, Restart)
45 PROXY_METHOD1(void, AddSink, rtc::VideoSinkInterface<cricket::VideoFrame>*) 45 PROXY_METHOD1(void, AddSink, rtc::VideoSinkInterface<cricket::VideoFrame>*)
46 PROXY_METHOD1(void, RemoveSink, rtc::VideoSinkInterface<cricket::VideoFrame>*) 46 PROXY_METHOD1(void, RemoveSink, rtc::VideoSinkInterface<cricket::VideoFrame>*)
47 PROXY_CONSTMETHOD0(const cricket::VideoOptions*, options) 47 PROXY_CONSTMETHOD0(const cricket::VideoOptions*, options)
48 PROXY_METHOD0(cricket::VideoRenderer*, FrameInput)
49 PROXY_METHOD1(void, RegisterObserver, ObserverInterface*) 48 PROXY_METHOD1(void, RegisterObserver, ObserverInterface*)
50 PROXY_METHOD1(void, UnregisterObserver, ObserverInterface*) 49 PROXY_METHOD1(void, UnregisterObserver, ObserverInterface*)
51 END_PROXY() 50 END_PROXY()
52 51
53 } // namespace webrtc 52 } // namespace webrtc
54 53
55 #endif // TALK_APP_WEBRTC_VIDEOSOURCEPROXY_H_ 54 #endif // TALK_APP_WEBRTC_VIDEOSOURCEPROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698