OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 PROXY_CONSTMETHOD0(std::string, kind) | 59 PROXY_CONSTMETHOD0(std::string, kind) |
60 PROXY_CONSTMETHOD0(std::string, id) | 60 PROXY_CONSTMETHOD0(std::string, id) |
61 PROXY_CONSTMETHOD0(TrackState, state) | 61 PROXY_CONSTMETHOD0(TrackState, state) |
62 PROXY_CONSTMETHOD0(bool, enabled) | 62 PROXY_CONSTMETHOD0(bool, enabled) |
63 PROXY_METHOD1(bool, set_enabled, bool) | 63 PROXY_METHOD1(bool, set_enabled, bool) |
64 PROXY_METHOD1(bool, set_state, TrackState) | 64 PROXY_METHOD1(bool, set_state, TrackState) |
65 | 65 |
66 PROXY_METHOD1(void, AddRenderer, VideoRendererInterface*) | 66 PROXY_METHOD1(void, AddRenderer, VideoRendererInterface*) |
67 PROXY_METHOD1(void, RemoveRenderer, VideoRendererInterface*) | 67 PROXY_METHOD1(void, RemoveRenderer, VideoRendererInterface*) |
68 PROXY_CONSTMETHOD0(VideoSourceInterface*, GetSource) | 68 PROXY_CONSTMETHOD0(VideoSourceInterface*, GetSource) |
| 69 PROXY_METHOD0(rtc::VideoSinkInterface<cricket::VideoFrame>*, GetSink) |
69 | 70 |
70 PROXY_METHOD1(void, RegisterObserver, ObserverInterface*) | 71 PROXY_METHOD1(void, RegisterObserver, ObserverInterface*) |
71 PROXY_METHOD1(void, UnregisterObserver, ObserverInterface*) | 72 PROXY_METHOD1(void, UnregisterObserver, ObserverInterface*) |
72 END_PROXY() | 73 END_PROXY() |
73 | 74 |
74 } // namespace webrtc | 75 } // namespace webrtc |
75 | 76 |
76 #endif // TALK_APP_WEBRTC_MEDIASTREAMTRACKPROXY_H_ | 77 #endif // TALK_APP_WEBRTC_MEDIASTREAMTRACKPROXY_H_ |
OLD | NEW |