Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoCodec+Private.h

Issue 2977213002: Reland of Injectable Obj-C video codecs (Closed)
Patch Set: Add checks to make sure destroy is called Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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/RTCVideoCodec.h"
12
13 #import "WebRTC/RTCVideoCodecH264.h"
14
15 #include "webrtc/common_video/include/video_frame.h"
16 #include "webrtc/media/base/codec.h"
17 #include "webrtc/modules/video_coding/include/video_codec_interface.h"
18
19 NS_ASSUME_NONNULL_BEGIN
20
21 /* Interfaces for converting to/from internal C++ formats. */
22 @interface RTCEncodedImage ()
23
24 - (instancetype)initWithNativeEncodedImage:(webrtc::EncodedImage)encodedImage;
25 - (webrtc::EncodedImage)toCpp;
26
27 @end
28
29 @interface RTCVideoEncoderSettings ()
30
31 - (instancetype)initWithVideoCodec:(const webrtc::VideoCodec *__nullable)videoCo dec;
32 - (std::unique_ptr<webrtc::VideoCodec>)toCpp;
33
34 @end
35
36 @interface RTCCodecSpecificInfoH264 ()
37
38 - (webrtc::CodecSpecificInfo)toCpp;
39
40 @end
41
42 @interface RTCRtpFragmentationHeader ()
43
44 - (instancetype)initWithFragmentationHeader:
45 (const webrtc::RTPFragmentationHeader *__nullable)fragmentationHeader;
46 - (std::unique_ptr<webrtc::RTPFragmentationHeader>)toCpp;
47
48 @end
49
50 @interface RTCVideoCodecInfo ()
51
52 - (instancetype)initWithVideoCodec:(cricket::VideoCodec)videoCodec;
53 - (cricket::VideoCodec)toCpp;
54
55 @end
56
57 NS_ASSUME_NONNULL_END
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698