IVSCodecDiscoveryResult
Objective-C
@interface IVSCodecDiscoveryResult : NSObject
Swift
class Result : NSObject
A codec result returned by IVSCodecDiscovery
.
-
The name of the video codec that this result is related to. This can be matched with
IVSVideoCodecNames
.Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull videoCodecName;
Swift
var videoCodecName: String { get }
-
The validated
IVSVideoConfiguration
that this codec is known to work with. This may differ from the configuration provided to theIVSCodecDiscovery
session if there are known compatibility issues, such as lack of B-frame support or limited bitrate/keyframe interval ranges. This will benil
if the codec associated withvideoCodecName
is not available for use on this device for the requested channel or configuration.Warning
This configuration object will be locked, meaning attempting to change any properties (exceptusesAutoBitrate
,autoBitrateProfile
, andenableTransparency
) will result in an error or no-op.Declaration
Objective-C
@property (nonatomic, readonly, nullable) IVSVideoConfiguration *configuration;
Swift
var configuration: IVSVideoConfiguration? { get }
-
This will be
nil
ifvideoCodec
can be used on this device for the requested channel, otherwise this will provide a description of why theIVSVideoCodec
is not available.Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSError *error;
Swift
var error: (any Error)? { get }