Anders Carlsson | 7bca8ca | 2018-08-30 09:30:29 +0200 | [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 | |
| 13 | #import "RTCMacros.h" |
| 14 | #import "RTCRtcpParameters.h" |
| 15 | #import "RTCRtpCodecParameters.h" |
| 16 | #import "RTCRtpEncodingParameters.h" |
| 17 | #import "RTCRtpHeaderExtension.h" |
| 18 | |
| 19 | NS_ASSUME_NONNULL_BEGIN |
| 20 | |
Mirko Bonadei | e8d5724 | 2018-09-17 10:22:56 +0200 | [diff] [blame^] | 21 | RTC_OBJC_EXPORT |
Anders Carlsson | 7bca8ca | 2018-08-30 09:30:29 +0200 | [diff] [blame] | 22 | @interface RTCRtpParameters : NSObject |
| 23 | |
| 24 | /** A unique identifier for the last set of parameters applied. */ |
| 25 | @property(nonatomic, copy) NSString *transactionId; |
| 26 | |
| 27 | /** Parameters used for RTCP. */ |
| 28 | @property(nonatomic, readonly, copy) RTCRtcpParameters *rtcp; |
| 29 | |
| 30 | /** An array containing parameters for RTP header extensions. */ |
| 31 | @property(nonatomic, readonly, copy) NSArray<RTCRtpHeaderExtension *> *headerExtensions; |
| 32 | |
| 33 | /** The currently active encodings in the order of preference. */ |
| 34 | @property(nonatomic, copy) NSArray<RTCRtpEncodingParameters *> *encodings; |
| 35 | |
| 36 | /** The negotiated set of send codecs in order of preference. */ |
| 37 | @property(nonatomic, copy) NSArray<RTCRtpCodecParameters *> *codecs; |
| 38 | |
| 39 | - (instancetype)init NS_DESIGNATED_INITIALIZER; |
| 40 | |
| 41 | @end |
| 42 | |
| 43 | NS_ASSUME_NONNULL_END |