Skip to content

Commit

Permalink
Release CascableCore 12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
iKenndac committed Aug 18, 2023
1 parent bae2aaf commit 389a8f7
Show file tree
Hide file tree
Showing 15 changed files with 116 additions and 19 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# CascableCore 12.4

### API Changes

- Added the `CBLVideoFormatCompressionLevel` enum and `compressionLevel` property to `id <CBLVideoFormatPropertyValue>`.

### Bug Fixes

- Fixed an issue that would cause the `CBLErrorCodeRequiresPhysicalInteraction` error to *not* be thrown when failing to switch to stills mode due to the physical position of the stills/video switch on some Canon camera models.

- `-setCurrentCommandCategories:completionCallback:` now correctly waits for Canon cameras to switch in/out of the requisite mode before calling the completion handler, matching the documented behaviour.


# CascableCore 12.3

### New Property: Video Recording Format
Expand Down
16 changes: 8 additions & 8 deletions CascableCore.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,34 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>CascableCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>macos-arm64_x86_64</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>CascableCore.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>macos-arm64_x86_64</string>
<key>LibraryPath</key>
<string>CascableCore.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -40,9 +42,7 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
<string>macos</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,31 @@ NS_SWIFT_NAME(ExposurePropertyValue)

@end

/// Values representing the level of video compression for a `CBLVideoFormatPropertyValue` value. In general,
/// higher values have *more* compression (i.e., smaller file sizes).
typedef NS_ENUM(NSInteger, CBLVideoFormatCompressionLevel) {
/// The compression level is unavailable.
CBLVideoFormatCompressionLevelUnknown = 0,

/// The video is being compressed with a raw codec.
CBLVideoFormatCompressionLevelRaw = 1,

/// The video is being compressed using a codec that's effectively lossless, such as ProRes.
CBLVideoFormatCompressionLevelEffectivelyLossless = 2,

/// The video is being compressed using a codec designed for editing. This includes codecs like MJPEG, as well
/// as h264/h265 in ALL-I/XAVC S-I mode.
CBLVideoFormatCompressionLevelForEditing = 3,

/// The video is being compressed using a codec designed for playback. This includes h264/h265 in Long GOP/IPB/
/// IPB Standard/XAVC S/XAVC HS mode.
CBLVideoFormatCompressionLevelNormal = 4,

/// The video is being compressed using a codec designed for smaller file sizes. This includes h264/264 in
/// IPB Light/XAVC L mode.
CBLVideoFormatCompressionLevelHigh = 5
} NS_SWIFT_NAME(VideoFormatCompressionLevel);

/// A property value that represents a video format description.
NS_SWIFT_NAME(VideoFormatPropertyValue)
@protocol CBLVideoFormatPropertyValue <CBLPropertyValue>
Expand All @@ -357,6 +382,9 @@ NS_SWIFT_NAME(VideoFormatPropertyValue)
/// Returns the video format's frame size, in pixels, if available. If not available, returns `CGSizeZero`.
@property (nonatomic, readonly) CGSize frameSize;

/// Returns the video format's compression level, if available. If not available, returns `CBLVideoFormatCompressionLevelUnknown`.
@property (nonatomic, readonly) CBLVideoFormatCompressionLevel compressionLevel;

@end

// MARK: - Common Values
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// Returns a detailed version string for the SDK.
static NSString * const CBLCoreVerboseVersion NS_SWIFT_NAME(CascableCoreVerboseVersion) = @"12.3-gb9c3cba";
static NSString * const CBLCoreVerboseVersion NS_SWIFT_NAME(CascableCoreVerboseVersion) = @"12.4-ga135934";
/// Returns the build number for the SDK.
static NSString * const CBLCoreBundleVersion NS_SWIFT_NAME(CascableCoreBundleVersion) = @"1661";
static NSString * const CBLCoreBundleVersion NS_SWIFT_NAME(CascableCoreBundleVersion) = @"1668";
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,31 @@ NS_SWIFT_NAME(ExposurePropertyValue)

@end

/// Values representing the level of video compression for a `CBLVideoFormatPropertyValue` value. In general,
/// higher values have *more* compression (i.e., smaller file sizes).
typedef NS_ENUM(NSInteger, CBLVideoFormatCompressionLevel) {
/// The compression level is unavailable.
CBLVideoFormatCompressionLevelUnknown = 0,

/// The video is being compressed with a raw codec.
CBLVideoFormatCompressionLevelRaw = 1,

/// The video is being compressed using a codec that's effectively lossless, such as ProRes.
CBLVideoFormatCompressionLevelEffectivelyLossless = 2,

/// The video is being compressed using a codec designed for editing. This includes codecs like MJPEG, as well
/// as h264/h265 in ALL-I/XAVC S-I mode.
CBLVideoFormatCompressionLevelForEditing = 3,

/// The video is being compressed using a codec designed for playback. This includes h264/h265 in Long GOP/IPB/
/// IPB Standard/XAVC S/XAVC HS mode.
CBLVideoFormatCompressionLevelNormal = 4,

/// The video is being compressed using a codec designed for smaller file sizes. This includes h264/264 in
/// IPB Light/XAVC L mode.
CBLVideoFormatCompressionLevelHigh = 5
} NS_SWIFT_NAME(VideoFormatCompressionLevel);

/// A property value that represents a video format description.
NS_SWIFT_NAME(VideoFormatPropertyValue)
@protocol CBLVideoFormatPropertyValue <CBLPropertyValue>
Expand All @@ -357,6 +382,9 @@ NS_SWIFT_NAME(VideoFormatPropertyValue)
/// Returns the video format's frame size, in pixels, if available. If not available, returns `CGSizeZero`.
@property (nonatomic, readonly) CGSize frameSize;

/// Returns the video format's compression level, if available. If not available, returns `CBLVideoFormatCompressionLevelUnknown`.
@property (nonatomic, readonly) CBLVideoFormatCompressionLevel compressionLevel;

@end

// MARK: - Common Values
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// Returns a detailed version string for the SDK.
static NSString * const CBLCoreVerboseVersion NS_SWIFT_NAME(CascableCoreVerboseVersion) = @"12.3-gb9c3cba";
static NSString * const CBLCoreVerboseVersion NS_SWIFT_NAME(CascableCoreVerboseVersion) = @"12.4-ga135934";
/// Returns the build number for the SDK.
static NSString * const CBLCoreBundleVersion NS_SWIFT_NAME(CascableCoreBundleVersion) = @"1661";
static NSString * const CBLCoreBundleVersion NS_SWIFT_NAME(CascableCoreBundleVersion) = @"1668";
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
</data>
<key>Headers/CBLCameraPropertyAPI.h</key>
<data>
pasGFktz/tqIvCK1VmBNlcEayPE=
C1I4ZmZhxjz8Tlg94ceasJ1lctY=
</data>
<key>Headers/CBLCameraQRDecoding.h</key>
<data>
Expand All @@ -322,7 +322,7 @@
</data>
<key>Headers/CBLCoreVersions.h</key>
<data>
QkVavophcT+Q391niOvjHZ6UhdA=
wlws9Sy/o/OaclL+vlsEM4935hE=
</data>
<key>Headers/CBLDeviceInfo.h</key>
<data>
Expand Down Expand Up @@ -394,7 +394,7 @@
</data>
<key>Info.plist</key>
<data>
ymvVcIAmUPN1kcyww0s10tb89Xw=
5c0Rzefh2qt0OdZAOmpBWy8BK5w=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down Expand Up @@ -1526,7 +1526,7 @@
<dict>
<key>hash2</key>
<data>
Rcu1ajqjUT68Y4MPuTb9lzKRetHp6teh63zoTqWkMp4=
ExfAPEdhxcKWT50iBsIBxCYFIRMQmpexBl2MIk2Q+fo=
</data>
</dict>
<key>Headers/CBLCameraQRDecoding.h</key>
Expand Down Expand Up @@ -1554,7 +1554,7 @@
<dict>
<key>hash2</key>
<data>
MBqLtDuKaTUgmjfg/3wktLu1zvVNlVKcw6T5PjxWJDE=
rH9sagiIcPbzILPkcDW2Y5FnLqFgkqc/3y+lu8tFQ5o=
</data>
</dict>
<key>Headers/CBLDeviceInfo.h</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,31 @@ NS_SWIFT_NAME(ExposurePropertyValue)

@end

/// Values representing the level of video compression for a `CBLVideoFormatPropertyValue` value. In general,
/// higher values have *more* compression (i.e., smaller file sizes).
typedef NS_ENUM(NSInteger, CBLVideoFormatCompressionLevel) {
/// The compression level is unavailable.
CBLVideoFormatCompressionLevelUnknown = 0,

/// The video is being compressed with a raw codec.
CBLVideoFormatCompressionLevelRaw = 1,

/// The video is being compressed using a codec that's effectively lossless, such as ProRes.
CBLVideoFormatCompressionLevelEffectivelyLossless = 2,

/// The video is being compressed using a codec designed for editing. This includes codecs like MJPEG, as well
/// as h264/h265 in ALL-I/XAVC S-I mode.
CBLVideoFormatCompressionLevelForEditing = 3,

/// The video is being compressed using a codec designed for playback. This includes h264/h265 in Long GOP/IPB/
/// IPB Standard/XAVC S/XAVC HS mode.
CBLVideoFormatCompressionLevelNormal = 4,

/// The video is being compressed using a codec designed for smaller file sizes. This includes h264/264 in
/// IPB Light/XAVC L mode.
CBLVideoFormatCompressionLevelHigh = 5
} NS_SWIFT_NAME(VideoFormatCompressionLevel);

/// A property value that represents a video format description.
NS_SWIFT_NAME(VideoFormatPropertyValue)
@protocol CBLVideoFormatPropertyValue <CBLPropertyValue>
Expand All @@ -357,6 +382,9 @@ NS_SWIFT_NAME(VideoFormatPropertyValue)
/// Returns the video format's frame size, in pixels, if available. If not available, returns `CGSizeZero`.
@property (nonatomic, readonly) CGSize frameSize;

/// Returns the video format's compression level, if available. If not available, returns `CBLVideoFormatCompressionLevelUnknown`.
@property (nonatomic, readonly) CBLVideoFormatCompressionLevel compressionLevel;

@end

// MARK: - Common Values
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// Returns a detailed version string for the SDK.
static NSString * const CBLCoreVerboseVersion NS_SWIFT_NAME(CascableCoreVerboseVersion) = @"12.3-gb9c3cba";
static NSString * const CBLCoreVerboseVersion NS_SWIFT_NAME(CascableCoreVerboseVersion) = @"12.4-ga135934";
/// Returns the build number for the SDK.
static NSString * const CBLCoreBundleVersion NS_SWIFT_NAME(CascableCoreBundleVersion) = @"1661";
static NSString * const CBLCoreBundleVersion NS_SWIFT_NAME(CascableCoreBundleVersion) = @"1668";
Binary file not shown.

0 comments on commit 389a8f7

Please sign in to comment.