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 the IVSCodecDiscovery session if there are known compatibility issues, such as lack of B-frame support or limited bitrate/keyframe interval ranges. This will be nil if the codec associated with videoCodecName 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 (except usesAutoBitrate, autoBitrateProfile, and enableTransparency) 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 if videoCodec can be used on this device for the requested channel, otherwise this will provide a description of why the IVSVideoCodec is not available.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSError *error;

    Swift

    var error: (any Error)? { get }