CBLVideoFormatPropertyValue

Objective-C

@protocol CBLVideoFormatPropertyValue <CBLPropertyValue>

Swift

protocol VideoFormatPropertyValue : PropertyValue

A property value that represents a video format description.

  • Returns the video format’s frame rate, if available. If not available, returns NSNotFound.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger frameRate;

    Swift

    var frameRate: Int { get }
  • Returns the video format’s frame size, in pixels, if available. If not available, returns CGSizeZero.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGSize frameSize;

    Swift

    var frameSize: CGSize { get }
  • Returns the video format’s compression level, if available. If not available, returns CBLVideoFormatCompressionLevelUnknown.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CBLVideoFormatCompressionLevel compressionLevel;

    Swift

    var compressionLevel: VideoFormatCompressionLevel { get }