Camera Module
78.2.0
Changelog Summary
Camera Configuration
Updated TruvideoSdkCameraConfiguration initializer parameters.
⚠️ Breaking Changes
3. TruvideoSdkCameraConfiguration Initializer Updated
TruvideoSdkCameraConfiguration Initializer UpdatedChange Summary:
The initializer parameters for TruvideoSdkCameraConfiguration have been reduced and reordered alphabetically.
Unused or redundant parameters (frontResolutions, frontResolution, backResolutions, backResolution, orientation) were removed for simplicity.
This update improves clarity, consistency, and ensures alignment with other SDK components.
Example Comparison:
Before:
TruvideoSdkCameraConfiguration(
lensFacing: lensFacing,
flashMode: flashMode,
orientation: orientation,
outputPath: "",
frontResolutions: [],
frontResolution: nil,
backResolutions: [],
backResolution: nil,
mode: cameraModeConfiguration.makeCameraMediaMode(),
imageFormat: imageFormat
)Now:
Impact:
Code relying on positional arguments (without labels) will break.
Always use parameter labels for clarity and forward compatibility.
✅ Migration Checklist
Before updating to this SDK version:
Review and update any usage of
TruvideoSdkCameraConfigurationto ensure parameters are in the new alphabetical order.
Last updated
Was this helpful?