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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 BEGIN_PROXY_MAP(VideoTrack) | 58 BEGIN_PROXY_MAP(VideoTrack) |
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_METHOD1(void, AddSink, rtc::VideoSinkInterface<cricket::VideoFrame>*) |
| 69 PROXY_METHOD1(void, RemoveSink, rtc::VideoSinkInterface<cricket::VideoFrame>*) |
68 PROXY_CONSTMETHOD0(VideoSourceInterface*, GetSource) | 70 PROXY_CONSTMETHOD0(VideoSourceInterface*, GetSource) |
69 | 71 |
70 PROXY_METHOD1(void, RegisterObserver, ObserverInterface*) | 72 PROXY_METHOD1(void, RegisterObserver, ObserverInterface*) |
71 PROXY_METHOD1(void, UnregisterObserver, ObserverInterface*) | 73 PROXY_METHOD1(void, UnregisterObserver, ObserverInterface*) |
72 END_PROXY() | 74 END_PROXY() |
73 | 75 |
74 } // namespace webrtc | 76 } // namespace webrtc |
75 | 77 |
76 #endif // TALK_APP_WEBRTC_MEDIASTREAMTRACKPROXY_H_ | 78 #endif // TALK_APP_WEBRTC_MEDIASTREAMTRACKPROXY_H_ |
OLD | NEW |