blob: 8f0993489db6ad5f690672f6f3e2a78d2bbfd0f1 [file] [log] [blame]
skvlad79b4b872016-04-08 17:28:55 -07001/*
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
tkchin9eeb6242016-04-27 01:54:20 -070013#import <WebRTC/RTCMacros.h>
Florent Castellidacec712018-05-24 16:24:21 +020014#import <WebRTC/RTCRtcpParameters.h>
tkchin9eeb6242016-04-27 01:54:20 -070015#import <WebRTC/RTCRtpCodecParameters.h>
16#import <WebRTC/RTCRtpEncodingParameters.h>
Florent Castelliabe301f2018-06-12 18:33:49 +020017#import <WebRTC/RTCRtpHeaderExtension.h>
skvlad79b4b872016-04-08 17:28:55 -070018
19NS_ASSUME_NONNULL_BEGIN
20
tkchin8b577ed2016-04-19 10:04:41 -070021RTC_EXPORT
skvlad79b4b872016-04-08 17:28:55 -070022@interface RTCRtpParameters : NSObject
23
Florent Castellicebf50f2018-05-03 15:31:53 +020024/** A unique identifier for the last set of parameters applied. */
25@property(nonatomic, copy) NSString *transactionId;
26
Florent Castellidacec712018-05-24 16:24:21 +020027/** Parameters used for RTCP. */
28@property(nonatomic, readonly, copy) RTCRtcpParameters *rtcp;
29
Florent Castelliabe301f2018-06-12 18:33:49 +020030/** An array containing parameters for RTP header extensions. */
31@property(nonatomic, readonly, copy) NSArray<RTCRtpHeaderExtension *> *headerExtensions;
32
skvlad79b4b872016-04-08 17:28:55 -070033/** The currently active encodings in the order of preference. */
34@property(nonatomic, copy) NSArray<RTCRtpEncodingParameters *> *encodings;
35
Taylor Brandstetter0cd086b2016-04-20 16:23:10 -070036/** The negotiated set of send codecs in order of preference. */
37@property(nonatomic, copy) NSArray<RTCRtpCodecParameters *> *codecs;
38
skvlad79b4b872016-04-08 17:28:55 -070039- (instancetype)init NS_DESIGNATED_INITIALIZER;
40
41@end
42
43NS_ASSUME_NONNULL_END