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/RTCEncodedImage.h> |
| 12 #import <WebRTC/RTCRtpFragmentationHeader.h> |
| 13 #import <WebRTC/RTCVideoCodec.h> |
| 14 #import <WebRTC/RTCVideoCodecH264.h> |
| 15 |
| 16 #include "webrtc/common_video/include/video_frame.h" |
| 17 #include "webrtc/media/base/codec.h" |
| 18 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
| 19 |
| 20 NS_ASSUME_NONNULL_BEGIN |
| 21 |
| 22 /* Interfaces for converting to/from internal C++ formats */ |
| 23 @interface RTCEncodedImage () |
| 24 |
| 25 - (instancetype)initWithEncodedImage:(webrtc::EncodedImage)encodedImage; |
| 26 - (webrtc::EncodedImage)toCpp; |
| 27 |
| 28 @end |
| 29 |
| 30 @interface RTCVideoEncoderSettings () |
| 31 |
| 32 - (instancetype)initWithVideoCodec:(const webrtc::VideoCodec *__nullable)videoCo
dec; |
| 33 - (webrtc::VideoCodec *)toCpp; |
| 34 |
| 35 @end |
| 36 |
| 37 @interface RTCCodecSpecificInfoH264 () |
| 38 |
| 39 - (webrtc::CodecSpecificInfo)toCpp; |
| 40 |
| 41 @end |
| 42 |
| 43 @interface RTCRtpFragmentationHeader () |
| 44 |
| 45 - (instancetype)initWithFragmentationHeader: |
| 46 (const webrtc::RTPFragmentationHeader *__nullable)fragmentationHeader; |
| 47 - (webrtc::RTPFragmentationHeader *)toCpp; |
| 48 |
| 49 @end |
| 50 |
| 51 @interface RTCVideoCodecInfo () |
| 52 |
| 53 - (instancetype)initWithVideoCodec:(cricket::VideoCodec)videoCodec; |
| 54 - (cricket::VideoCodec)toCpp; |
| 55 |
| 56 @end |
| 57 |
| 58 NS_ASSUME_NONNULL_END |
OLD | NEW |