OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2016 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 16 matching lines...) Expand all Loading... | |
27 */ | 27 */ |
28 @property(nonatomic, copy) RTCRtpParameters *parameters; | 28 @property(nonatomic, copy) RTCRtpParameters *parameters; |
29 | 29 |
30 /** The RTCMediaStreamTrack associated with the sender. | 30 /** The RTCMediaStreamTrack associated with the sender. |
31 * Note: reading this property returns a new instance of | 31 * Note: reading this property returns a new instance of |
32 * RTCMediaStreamTrack. Use isEqual: instead of == to compare | 32 * RTCMediaStreamTrack. Use isEqual: instead of == to compare |
33 * RTCMediaStreamTrack instances. | 33 * RTCMediaStreamTrack instances. |
34 */ | 34 */ |
35 @property(nonatomic, copy, nullable) RTCMediaStreamTrack *track; | 35 @property(nonatomic, copy, nullable) RTCMediaStreamTrack *track; |
36 | 36 |
37 /** | |
38 * Set currently active RTCRtpParameter, as defined in | |
39 * https://www.w3.org/TR/webrtc/#idl-def-RTCRtpParameters. | |
40 * | |
41 * @param the RtpParameters the sender should use. | |
42 */ | |
43 - (void)setParameters:(RTCRtpParameters *)parameters; | |
tkchin_webrtc
2016/11/14 21:14:32
This isn't required. There is already a property a
| |
44 | |
37 @end | 45 @end |
38 | 46 |
39 RTC_EXPORT | 47 RTC_EXPORT |
40 @interface RTCRtpSender : NSObject <RTCRtpSender> | 48 @interface RTCRtpSender : NSObject <RTCRtpSender> |
41 | 49 |
42 - (instancetype)init NS_UNAVAILABLE; | 50 - (instancetype)init NS_UNAVAILABLE; |
43 | 51 |
44 @end | 52 @end |
45 | 53 |
46 NS_ASSUME_NONNULL_END | 54 NS_ASSUME_NONNULL_END |
OLD | NEW |