blob: 02ce9812fb0322cf02319f218b54e60a010a6697 [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>
skvlad79b4b872016-04-08 17:28:55 -070017
18NS_ASSUME_NONNULL_BEGIN
19
tkchin8b577ed2016-04-19 10:04:41 -070020RTC_EXPORT
skvlad79b4b872016-04-08 17:28:55 -070021@interface RTCRtpParameters : NSObject
22
Florent Castellicebf50f2018-05-03 15:31:53 +020023/** A unique identifier for the last set of parameters applied. */
24@property(nonatomic, copy) NSString *transactionId;
25
Florent Castellidacec712018-05-24 16:24:21 +020026/** Parameters used for RTCP. */
27@property(nonatomic, readonly, copy) RTCRtcpParameters *rtcp;
28
skvlad79b4b872016-04-08 17:28:55 -070029/** The currently active encodings in the order of preference. */
30@property(nonatomic, copy) NSArray<RTCRtpEncodingParameters *> *encodings;
31
Taylor Brandstetter0cd086b2016-04-20 16:23:10 -070032/** The negotiated set of send codecs in order of preference. */
33@property(nonatomic, copy) NSArray<RTCRtpCodecParameters *> *codecs;
34
skvlad79b4b872016-04-08 17:28:55 -070035- (instancetype)init NS_DESIGNATED_INITIALIZER;
36
37@end
38
39NS_ASSUME_NONNULL_END