| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 // to uniquely identify a receiver until we implement Unified Plan SDP. | 31 // to uniquely identify a receiver until we implement Unified Plan SDP. |
| 32 virtual std::string id() const = 0; | 32 virtual std::string id() const = 0; |
| 33 | 33 |
| 34 virtual void Stop() = 0; | 34 virtual void Stop() = 0; |
| 35 | 35 |
| 36 protected: | 36 protected: |
| 37 virtual ~RtpReceiverInterface() {} | 37 virtual ~RtpReceiverInterface() {} |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 // Define proxy for RtpReceiverInterface. | 40 // Define proxy for RtpReceiverInterface. |
| 41 BEGIN_PROXY_MAP(RtpReceiver) | 41 BEGIN_SIGNALLING_PROXY_MAP(RtpReceiver) |
| 42 PROXY_CONSTMETHOD0(rtc::scoped_refptr<MediaStreamTrackInterface>, track) | 42 PROXY_CONSTMETHOD0(rtc::scoped_refptr<MediaStreamTrackInterface>, track) |
| 43 PROXY_CONSTMETHOD0(std::string, id) | 43 PROXY_CONSTMETHOD0(std::string, id) |
| 44 PROXY_METHOD0(void, Stop) | 44 PROXY_METHOD0(void, Stop) |
| 45 END_PROXY() | 45 END_SIGNALLING_PROXY() |
| 46 | 46 |
| 47 } // namespace webrtc | 47 } // namespace webrtc |
| 48 | 48 |
| 49 #endif // WEBRTC_API_RTPRECEIVERINTERFACE_H_ | 49 #endif // WEBRTC_API_RTPRECEIVERINTERFACE_H_ |
| OLD | NEW |