skvlad | 79b4b87 | 2016-04-08 17:28:55 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
| 11 | #import <Foundation/Foundation.h> |
| 12 | |
tkchin | 9eeb624 | 2016-04-27 01:54:20 -0700 | [diff] [blame] | 13 | #import <WebRTC/RTCMacros.h> |
Florent Castelli | dacec71 | 2018-05-24 16:24:21 +0200 | [diff] [blame] | 14 | #import <WebRTC/RTCRtcpParameters.h> |
tkchin | 9eeb624 | 2016-04-27 01:54:20 -0700 | [diff] [blame] | 15 | #import <WebRTC/RTCRtpCodecParameters.h> |
| 16 | #import <WebRTC/RTCRtpEncodingParameters.h> |
Florent Castelli | abe301f | 2018-06-12 18:33:49 +0200 | [diff] [blame] | 17 | #import <WebRTC/RTCRtpHeaderExtension.h> |
skvlad | 79b4b87 | 2016-04-08 17:28:55 -0700 | [diff] [blame] | 18 | |
| 19 | NS_ASSUME_NONNULL_BEGIN |
| 20 | |
tkchin | 8b577ed | 2016-04-19 10:04:41 -0700 | [diff] [blame] | 21 | RTC_EXPORT |
skvlad | 79b4b87 | 2016-04-08 17:28:55 -0700 | [diff] [blame] | 22 | @interface RTCRtpParameters : NSObject |
| 23 | |
Florent Castelli | cebf50f | 2018-05-03 15:31:53 +0200 | [diff] [blame] | 24 | /** A unique identifier for the last set of parameters applied. */ |
| 25 | @property(nonatomic, copy) NSString *transactionId; |
| 26 | |
Florent Castelli | dacec71 | 2018-05-24 16:24:21 +0200 | [diff] [blame] | 27 | /** Parameters used for RTCP. */ |
| 28 | @property(nonatomic, readonly, copy) RTCRtcpParameters *rtcp; |
| 29 | |
Florent Castelli | abe301f | 2018-06-12 18:33:49 +0200 | [diff] [blame] | 30 | /** An array containing parameters for RTP header extensions. */ |
| 31 | @property(nonatomic, readonly, copy) NSArray<RTCRtpHeaderExtension *> *headerExtensions; |
| 32 | |
skvlad | 79b4b87 | 2016-04-08 17:28:55 -0700 | [diff] [blame] | 33 | /** The currently active encodings in the order of preference. */ |
| 34 | @property(nonatomic, copy) NSArray<RTCRtpEncodingParameters *> *encodings; |
| 35 | |
Taylor Brandstetter | 0cd086b | 2016-04-20 16:23:10 -0700 | [diff] [blame] | 36 | /** The negotiated set of send codecs in order of preference. */ |
| 37 | @property(nonatomic, copy) NSArray<RTCRtpCodecParameters *> *codecs; |
| 38 | |
skvlad | 79b4b87 | 2016-04-08 17:28:55 -0700 | [diff] [blame] | 39 | - (instancetype)init NS_DESIGNATED_INITIALIZER; |
| 40 | |
| 41 | @end |
| 42 | |
| 43 | NS_ASSUME_NONNULL_END |