OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 RTC_EXPORT | 78 RTC_EXPORT |
79 @interface RTCCodecSpecificInfoH264 : NSObject<RTCCodecSpecificInfo> | 79 @interface RTCCodecSpecificInfoH264 : NSObject<RTCCodecSpecificInfo> |
80 | 80 |
81 @property(nonatomic, assign) RTCH264PacketizationMode packetizationMode; | 81 @property(nonatomic, assign) RTCH264PacketizationMode packetizationMode; |
82 | 82 |
83 @end | 83 @end |
84 | 84 |
85 /** Callback block for encoder. */ | 85 /** Callback block for encoder. */ |
86 typedef BOOL (^RTCVideoEncoderCallback)(RTCEncodedImage *frame, | 86 typedef BOOL (^RTCVideoEncoderCallback)(RTCEncodedImage *frame, |
87 id<RTCCodecSpecificInfo> info, | 87 _Nullable id<RTCCodecSpecificInfo> info, |
88 RTCRtpFragmentationHeader *header); | 88 RTCRtpFragmentationHeader *header); |
89 | 89 |
90 /** Callback block for decoder. */ | 90 /** Callback block for decoder. */ |
91 typedef void (^RTCVideoDecoderCallback)(RTCVideoFrame *frame); | 91 typedef void (^RTCVideoDecoderCallback)(RTCVideoFrame *frame); |
92 | 92 |
93 typedef NS_ENUM(NSUInteger, RTCVideoCodecMode) { | 93 typedef NS_ENUM(NSUInteger, RTCVideoCodecMode) { |
94 RTCVideoCodecModeRealtimeVideo, | 94 RTCVideoCodecModeRealtimeVideo, |
95 RTCVideoCodecModeScreensharing, | 95 RTCVideoCodecModeScreensharing, |
96 }; | 96 }; |
97 | 97 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 - (NSInteger)decode:(RTCEncodedImage *)encodedImage | 175 - (NSInteger)decode:(RTCEncodedImage *)encodedImage |
176 missingFrames:(BOOL)missingFrames | 176 missingFrames:(BOOL)missingFrames |
177 fragmentationHeader:(RTCRtpFragmentationHeader *)fragmentationHeader | 177 fragmentationHeader:(RTCRtpFragmentationHeader *)fragmentationHeader |
178 codecSpecificInfo:(__nullable id<RTCCodecSpecificInfo>)info | 178 codecSpecificInfo:(__nullable id<RTCCodecSpecificInfo>)info |
179 renderTimeMs:(int64_t)renderTimeMs; | 179 renderTimeMs:(int64_t)renderTimeMs; |
180 - (NSString *)implementationName; | 180 - (NSString *)implementationName; |
181 | 181 |
182 @end | 182 @end |
183 | 183 |
184 NS_ASSUME_NONNULL_END | 184 NS_ASSUME_NONNULL_END |
OLD | NEW |