| 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 BEGIN_PROXY_MAP(VideoTrack) | 59 BEGIN_PROXY_MAP(VideoTrack) |
| 60 PROXY_CONSTMETHOD0(std::string, kind) | 60 PROXY_CONSTMETHOD0(std::string, kind) |
| 61 PROXY_CONSTMETHOD0(std::string, id) | 61 PROXY_CONSTMETHOD0(std::string, id) |
| 62 PROXY_CONSTMETHOD0(TrackState, state) | 62 PROXY_CONSTMETHOD0(TrackState, state) |
| 63 PROXY_CONSTMETHOD0(bool, enabled) | 63 PROXY_CONSTMETHOD0(bool, enabled) |
| 64 PROXY_METHOD1(bool, set_enabled, bool) | 64 PROXY_METHOD1(bool, set_enabled, bool) |
| 65 PROXY_METHOD1(bool, set_state, TrackState) | 65 PROXY_METHOD1(bool, set_state, TrackState) |
| 66 | 66 |
| 67 PROXY_METHOD1(void, AddRenderer, VideoRendererInterface*) | 67 PROXY_METHOD1(void, AddRenderer, VideoRendererInterface*) |
| 68 PROXY_METHOD1(void, RemoveRenderer, VideoRendererInterface*) | 68 PROXY_METHOD1(void, RemoveRenderer, VideoRendererInterface*) |
| 69 PROXY_METHOD1(void, AddSink, rtc::VideoSinkInterface<cricket::VideoFrame>*) |
| 70 PROXY_METHOD1(void, RemoveSink, rtc::VideoSinkInterface<cricket::VideoFrame>*) |
| 69 PROXY_CONSTMETHOD0(VideoSourceInterface*, GetSource) | 71 PROXY_CONSTMETHOD0(VideoSourceInterface*, GetSource) |
| 70 | 72 |
| 71 PROXY_METHOD1(void, RegisterObserver, ObserverInterface*) | 73 PROXY_METHOD1(void, RegisterObserver, ObserverInterface*) |
| 72 PROXY_METHOD1(void, UnregisterObserver, ObserverInterface*) | 74 PROXY_METHOD1(void, UnregisterObserver, ObserverInterface*) |
| 73 END_PROXY() | 75 END_PROXY() |
| 74 | 76 |
| 75 } // namespace webrtc | 77 } // namespace webrtc |
| 76 | 78 |
| 77 #endif // TALK_APP_WEBRTC_MEDIASTREAMTRACKPROXY_H_ | 79 #endif // TALK_APP_WEBRTC_MEDIASTREAMTRACKPROXY_H_ |
| OLD | NEW |