blob: b6e1f01a23bcbe5ba039e6cb0a26eb1e331c8bc6 [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>
14#import <WebRTC/RTCRtpCodecParameters.h>
15#import <WebRTC/RTCRtpEncodingParameters.h>
skvlad79b4b872016-04-08 17:28:55 -070016
17NS_ASSUME_NONNULL_BEGIN
18
tkchin8b577ed2016-04-19 10:04:41 -070019RTC_EXPORT
skvlad79b4b872016-04-08 17:28:55 -070020@interface RTCRtpParameters : NSObject
21
Florent Castellicebf50f2018-05-03 15:31:53 +020022/** A unique identifier for the last set of parameters applied. */
23@property(nonatomic, copy) NSString *transactionId;
24
skvlad79b4b872016-04-08 17:28:55 -070025/** The currently active encodings in the order of preference. */
26@property(nonatomic, copy) NSArray<RTCRtpEncodingParameters *> *encodings;
27
Taylor Brandstetter0cd086b2016-04-20 16:23:10 -070028/** The negotiated set of send codecs in order of preference. */
29@property(nonatomic, copy) NSArray<RTCRtpCodecParameters *> *codecs;
30
skvlad79b4b872016-04-08 17:28:55 -070031- (instancetype)init NS_DESIGNATED_INITIALIZER;
32
33@end
34
35NS_ASSUME_NONNULL_END