2021-03-03 12:29:42 +03:00
|
|
|
/*
|
|
|
|
|
* Copyright 2021 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 "RTCVideoEncoder.h"
|
2024-09-16 11:41:17 +03:00
|
|
|
#import "sdk/objc/base/RTCMacros.h"
|
2021-03-03 12:29:42 +03:00
|
|
|
|
|
|
|
|
RTC_OBJC_EXPORT
|
|
|
|
|
@interface RTC_OBJC_TYPE (RTCVideoEncoderAV1) : NSObject
|
|
|
|
|
|
|
|
|
|
/* This returns a AV1 encoder that can be returned from a RTCVideoEncoderFactory injected into
|
|
|
|
|
* RTCPeerConnectionFactory. Even though it implements the RTCVideoEncoder protocol, it can not be
|
|
|
|
|
* used independently from the RTCPeerConnectionFactory.
|
|
|
|
|
*/
|
2024-08-29 12:38:07 +02:00
|
|
|
+ (nonnull id<RTC_OBJC_TYPE(RTCVideoEncoder)>)av1Encoder;
|
|
|
|
|
|
|
|
|
|
/* Returns list of scalability modes supported by the encoder that can be
|
|
|
|
|
* created with `av1Encoder` method above.
|
|
|
|
|
*/
|
|
|
|
|
+ (nonnull NSArray<NSString*>*)supportedScalabilityModes;
|
2021-03-03 12:29:42 +03:00
|
|
|
|
2022-05-31 17:24:44 +02:00
|
|
|
+ (bool)isSupported;
|
|
|
|
|
|
2021-03-03 12:29:42 +03:00
|
|
|
@end
|