blob: 0e0fbba5ac792ecceb029cecaf437fd335f7f405 [file] [log] [blame]
Florent Castelliabe301f2018-06-12 18:33:49 +02001/*
2 * Copyright 2018 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
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020011#import "RTCRtpHeaderExtension.h"
Florent Castelliabe301f2018-06-12 18:33:49 +020012
Steve Anton10542f22019-01-11 09:11:00 -080013#include "api/rtp_parameters.h"
Florent Castelliabe301f2018-06-12 18:33:49 +020014
15NS_ASSUME_NONNULL_BEGIN
16
Mirko Bonadeia81e9c82020-05-04 16:14:32 +020017@interface RTC_OBJC_TYPE (RTCRtpHeaderExtension)
18()
Florent Castelliabe301f2018-06-12 18:33:49 +020019
Mirko Bonadeia81e9c82020-05-04 16:14:32 +020020 /** Returns the equivalent native RtpExtension structure. */
21 @property(nonatomic, readonly) webrtc::RtpExtension nativeParameters;
Florent Castelliabe301f2018-06-12 18:33:49 +020022
23/** Initialize the object with a native RtpExtension structure. */
Yura Yaroshevich9aec8c22021-04-14 12:41:21 +030024- (instancetype)initWithNativeParameters:(const webrtc::RtpExtension &)nativeParameters
25 NS_DESIGNATED_INITIALIZER;
Florent Castelliabe301f2018-06-12 18:33:49 +020026
27@end
28
29NS_ASSUME_NONNULL_END