fune/third_party/libwebrtc/sdk/objc/api/video_codec/RTCNativeVideoEncoder.h
Nico Grunbaum 66df724a89 Bug 1895602 - Cherry-pick upstream libwebrtc commit d7e0981281 r?mjf,pehrsons
Upstream commit: https://webrtc.googlesource.com/src/+/d7e0981281fc8a94043c8a0cd72fffd28cd2df0d
       Propagate webrtc::Environment through objc VideoEncoderFactory

       Bug: webrtc:15860
       Change-Id: I9e7ee89e1ac9f950d38734510cf843e144108d24
       Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/342800
       Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
       Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
       Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
       Cr-Commit-Position: refs/heads/main@{#41933}

Differential Revision: https://phabricator.services.mozilla.com/D210235
2024-05-07 15:09:57 -07:00

20 lines
725 B
Objective-C

/*
* Copyright (c) 2024 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#import "base/RTCMacros.h"
#import "base/RTCVideoEncoder.h"
// NativeVideoEncoder pretends to conform to RTCVideoEncoder protocol, but
// expects its methods won't be called.
@interface RTC_OBJC_TYPE (RTCNativeVideoEncoder) : NSObject <RTC_OBJC_TYPE (RTCVideoEncoder)>
@end