| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 virtual RtpParameters GetParameters() const = 0; | 51 virtual RtpParameters GetParameters() const = 0; |
| 52 virtual bool SetParameters(const RtpParameters& parameters) = 0; | 52 virtual bool SetParameters(const RtpParameters& parameters) = 0; |
| 53 | 53 |
| 54 protected: | 54 protected: |
| 55 virtual ~RtpSenderInterface() {} | 55 virtual ~RtpSenderInterface() {} |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 // Define proxy for RtpSenderInterface. | 58 // Define proxy for RtpSenderInterface. |
| 59 BEGIN_SIGNALING_PROXY_MAP(RtpSender) | 59 BEGIN_SIGNALING_PROXY_MAP(RtpSender) |
| 60 PROXY_METHOD1(bool, SetTrack, MediaStreamTrackInterface*) | 60 PROXY_SIGNALING_THREAD_DESTRUCTOR() |
| 61 PROXY_CONSTMETHOD0(rtc::scoped_refptr<MediaStreamTrackInterface>, track) | 61 PROXY_METHOD1(bool, SetTrack, MediaStreamTrackInterface*) |
| 62 PROXY_CONSTMETHOD0(uint32_t, ssrc) | 62 PROXY_CONSTMETHOD0(rtc::scoped_refptr<MediaStreamTrackInterface>, track) |
| 63 PROXY_CONSTMETHOD0(cricket::MediaType, media_type) | 63 PROXY_CONSTMETHOD0(uint32_t, ssrc) |
| 64 PROXY_CONSTMETHOD0(std::string, id) | 64 PROXY_CONSTMETHOD0(cricket::MediaType, media_type) |
| 65 PROXY_CONSTMETHOD0(std::vector<std::string>, stream_ids) | 65 PROXY_CONSTMETHOD0(std::string, id) |
| 66 PROXY_CONSTMETHOD0(RtpParameters, GetParameters); | 66 PROXY_CONSTMETHOD0(std::vector<std::string>, stream_ids) |
| 67 PROXY_METHOD1(bool, SetParameters, const RtpParameters&) | 67 PROXY_CONSTMETHOD0(RtpParameters, GetParameters); |
| 68 END_SIGNALING_PROXY() | 68 PROXY_METHOD1(bool, SetParameters, const RtpParameters&) |
| 69 END_PROXY_MAP() |
| 69 | 70 |
| 70 } // namespace webrtc | 71 } // namespace webrtc |
| 71 | 72 |
| 72 #endif // WEBRTC_API_RTPSENDERINTERFACE_H_ | 73 #endif // WEBRTC_API_RTPSENDERINTERFACE_H_ |
| OLD | NEW |