OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2017 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 <WebRTC/RTCMacros.h> |
| 12 #import <WebRTC/RTCVideoCodecFactory.h> |
| 13 |
| 14 // Implementation for H264 specific config |
| 15 typedef NS_ENUM(NSUInteger, RTCH264PacketizationMode) { |
| 16 NonInterleaved = 0, // Mode 1 - STAP-A, FU-A is allowed |
| 17 SingleNalUnit // Mode 0 - only single NALU allowed |
| 18 }; |
| 19 |
| 20 RTC_EXPORT |
| 21 @interface RTCCodecSpecificInfoH264 : NSObject<RTCCodecSpecificInfo> |
| 22 |
| 23 @property(nonatomic, assign) RTCH264PacketizationMode packetizationMode; |
| 24 |
| 25 @end |
| 26 |
| 27 // Encoder |
| 28 RTC_EXPORT |
| 29 @interface RTCVideoEncoderH264 : NSObject<RTCVideoEncoder> |
| 30 @end |
| 31 |
| 32 // Decoder |
| 33 RTC_EXPORT |
| 34 @interface RTCVideoDecoderH264 : NSObject<RTCVideoDecoder> |
| 35 @end |
| 36 |
| 37 // Encoder factory |
| 38 RTC_EXPORT |
| 39 @interface RTCVideoEncoderFactoryH264 : NSObject<RTCVideoEncoderFactory> |
| 40 @end |
| 41 |
| 42 // Decoder factory |
| 43 RTC_EXPORT |
| 44 @interface RTCVideoDecoderFactoryH264 : NSObject<RTCVideoDecoderFactory> |
| 45 @end |
OLD | NEW |