OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |