| 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 | /* This file is borrowed from sdk/objc/components/video_codec/RTCCodecSpecificInfoH264.h. */ |
| 11 |
| 12 | #import <Foundation/Foundation.h> |
| 13 |
| 14 | #import "RTCCodecSpecificInfo.h" |
| 15 | #import "RTCMacros.h" |
| 16 |
| 17 | /** Class for H265 specific config. */ |
| 18 | typedef NS_ENUM(NSUInteger, RTCH265PacketizationMode) { |
| 19 | RTCH265PacketizationModeNonInterleaved = 0, // Mode 1 - STAP-A, FU-A is allowed |
| 20 | RTCH265PacketizationModeSingleNalUnit // Mode 0 - only single NALU allowed |
| 21 | }; |
| 22 |
| 23 | RTC_OBJC_EXPORT |
| 24 | @interface RTCCodecSpecificInfoH265 : NSObject <RTCCodecSpecificInfo> |
| 25 |
| 26 | @property(nonatomic, assign) RTCH265PacketizationMode packetizationMode; |
| 27 |
| 28 | @end |
| 29 |