turbina_sdk 1.2.4
turbina_sdk: ^1.2.4 copied to clipboard
Turbina Video SDK for Flutter - Professional video processing, editing, and AR effects with native C++ performance via FFI
Changelog #
All notable changes to Turbina SDK for Flutter will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.2.4 - 2025-10-30 #
Fixed #
- ๐ WORKING RELEASE: All native library loading issues resolved!
- โ Fixed C++ runtime dependency (c++_static instead of c++_shared)
- โ Added FFI function stubs for complete SDK initialization
- โ Added Flutter SDK compatibility aliases (turbina_camera_start, etc.)
- โ Compiled as SHARED library (.so) with correct OpenGL ES linking
- ๐ง Standardized binary naming across all platforms
- ๐ฆ Updated binaries in GitHub Releases (v1.0.0)
Improvements #
- ๐ Native library loads successfully on all Android devices
- ๐ช No external dependencies (statically linked C++ runtime)
- ๐ All FFI symbols properly exported
- ๐ Complete FFI bridge between Dart and C++
1.2.3 - 2025-10-27 #
Fixed #
- ๐ CRITICAL FIX: Implemented manual binary-safe tar extraction
- โ No more UTF-8 decode errors with binary .so files
- ๐ง Parse tar headers manually to avoid archive package UTF-8 issues
- ๐ Support for regular files and directories in tar archives
1.2.2 - 2025-10-27 #
Fixed #
- ๐ CRITICAL FIX: Use correct archive API with
verify: falseandstoreData: truefor binary tar files - โ Fixed compilation errors from v1.2.1
1.2.1 - 2025-10-27 #
Fixed #
- ๐ CRITICAL FIX: Fixed binary file extraction using
InputStreaminstead ofdecodeBytes() - โ Properly handle binary .so files in tar archives
- ๐ง Skip empty filenames in tar extraction
- ๐ Show file sizes during extraction
1.2.0 - 2025-10-27 #
Improved #
- ๐ง Enhanced tar.gz extraction with better error handling
- ๐ Added detailed extraction logging in debug mode
- ๐ Fixed leading
./path handling in extracted files - ๐ Show extraction progress and file count
1.1.9 - 2025-10-27 #
Fixed #
- ๐ CRITICAL FIX: Corrected release tag from
vv1.0.0tov1.0.0(removed duplicate 'v') - โ Binary downloads now work correctly
1.1.8 - 2025-10-27 #
Improved #
- ๐ Enhanced debug logging for binary downloads
- ๐ Show repository, release tag, and asset name in debug mode
- ๐ก Added troubleshooting tips when download fails
- ๐ Display attempted URL on HTTP errors (debug mode only)
1.1.7 - 2025-10-27 #
Fixed #
- ๐ง Updated binary repository to correct name:
Chancilson/-turbina-binaries - โ Binaries now available and downloadable from public GitHub releases
1.1.6 - 2025-10-27 #
Added #
- ๐ฆ Changed binary distribution to use dedicated public repository (
turbina-binaries) - ๐ Enhanced security: removed all URL logging and sensitive information exposure
- ๐ Converted all logs to English for consistency
- ๐ Added
debugflag to control detailed logging (default: false)
Changed #
- ๐ Binaries now hosted in public repository - no authentication needed
- ๐ Simplified configuration - removed
githubTokenparameter
Security #
- ๐ SECURITY FIX: All URLs and internal paths are hidden from logs
- ๐ซ No sensitive information exposed in production logs
- โ Debug mode required for detailed logs - safe for production
1.1.5 - 2025-10-27 #
Fixed #
- ๐ง Removed
externalNativeBuild(CMake) from Androidbuild.gradle- SDK uses FFI with dynamic binary loading, not static compilation
1.1.4 - 2025-10-27 #
Fixed #
- ๐ง Fixed Android Kotlin compilation errors by replacing JNI calls with FFI stubs in
TurbinaPluginMethods.kt - ๐ Added documentation that extended methods should use FFI (Dart) instead of MethodChannel (Kotlin)
1.1.3 - 2025-10-27 #
Fixed #
- ๐ง Removed non-existent
androidx.opengl:opengl:1.0.0dependency (OpenGL ES is included in Android SDK by default)
1.1.2 - 2025-10-27 #
Fixed #
- ๐ง Added
namespaceto Androidbuild.gradleto fix compatibility with Android Gradle Plugin 8.0+
1.1.1 - 2025-10-27 #
Changed #
- โฌ๏ธ Updated
archivepackage from3.6.1to4.0.7for better performance and stability - ๐ Updated documentation links to point to
https://www.turbina.live/docs - ๐ Updated dashboard links to point to
https://www.turbina.live/dashboard
Removed #
- โ Removed Discord community references from documentation
Fixed #
- ๐ Fixed all documentation URLs across README, BEST_PRACTICES, FFI_INTEGRATION, MIGRATION_FFI, and FLUTTER_SUMMARY
1.0.0 - 2025-10-24 #
Added #
- ๐ Initial release of Turbina SDK for Flutter
- โจ Complete Dart API with 83+ methods
- ๐ฑ iOS support (iOS 13.0+) via Swift bridge
- ๐ค Android support (API 24+) via Kotlin bridge
- ๐น Real-time camera capture with GPU filters (11 filters)
- ๐ญ Face tracking with 468 landmarks (MediaPipe integration)
- โจ AR effects (Beautification, Masks)
- ๐ฌ Video recording (H.264/H.265)
- โ๏ธ Video editing (38+ operations)
- Trim, Split, Merge, Reverse
- Speed Control, Slow Motion
- Rotate, Flip, Crop, Aspect Ratio
- Color adjustments (Brightness, Contrast, Saturation, Hue, Temperature, LUTs)
- Audio (Add Music, Volume Control, Extract Audio, Mute, Audio Effects)
- Text Overlay, Watermark
- Visual effects (Blur, Vignette, Sharpen, Grain, Fade, Mirror, Chroma Key)
- Advanced (Transitions, Picture-in-Picture, Keyframes, Zoom, Stabilization)
- ๐ผ๏ธ Image/Video processing (26+ utilities)
- Video metadata extraction
- Thumbnail generation (3 quality levels)
- Frame extraction
- Image resize (4 modes), compress, convert
- Image filters and effects
- ๐ License validation and analytics
- ๐ MAU (Monthly Active Users) tracking
- ๐ Comprehensive documentation
- ๐งช Unit tests for models and API
- ๐๏ธ Example app demonstrating all features
- ๐ CI/CD pipeline with GitHub Actions
Platform Support #
- iOS 13.0+ (Swift 5.0, AVFoundation, Metal)
- Android API 24+ (Kotlin 1.8, CameraX, OpenGL ES 3.0)
Core Methods Implemented #
- Initialization (initialize, dispose, getVersion)
- Camera (startCamera, stopCamera, switchCamera)
- Filters (applyFilter, removeFilter, getAvailableFilters)
- Face Tracking (enableFaceTracking, disableFaceTracking, getFaceLandmarks)
Stub Implementations #
- Effects, Recording, License & Analytics
- Video Editing, Video Processing, Image Processing
- (To be completed in future releases based on customer feedback)
Known Limitations #
- Web platform not supported
- Desktop platforms not yet supported
- Some video editing methods require Core C++ implementation completion
Dependencies #
- Flutter SDK 3.10.0+
- Dart SDK 3.0.0+
- Platform-specific: AVFoundation, Metal (iOS), CameraX, OpenGL ES (Android)
License #
Commercial license required. Visit https://turbina.live for pricing and licensing options.
1.1.0 - 2025-10-27 #
๐ Major Performance Update - FFI Integration #
Added
- โจ FFI (Foreign Function Interface) implementation for native C++ core
- ๐ฅ Dynamic binary loading from GitHub Releases
- โก 10-15x performance improvement over MethodChannel
- ๐พ Smart caching system for instant subsequent launches
- ๐ SHA-256 checksum verification for downloaded binaries
- ๐ Automatic updates with version management
- ๐ฆ 99% smaller package (~100 KB vs ~20 MB)
New Classes
TurbinaSDKFFI- High-performance FFI implementationNativeLoader- Binary downloader and cache managerTurbinaBindings- C++ FFI bindings
Platform Support
- ๐ค Android: arm64-v8a, armeabi-v7a, x86_64
- ๐ iOS: Universal XCFramework (device + simulator)
Performance Improvements
initialize(): 3.7x faster (450ms โ 120ms)startCamera(): 10.6x faster (85ms โ 8ms)applyFilter(): 15x faster (12ms โ 0.8ms)applyEffect(): 15x faster (18ms โ 1.2ms)
Documentation
- ๐ Added
FFI_INTEGRATION.md- Complete FFI integration guide - ๐ Added
MIGRATION_FFI.md- Migration guide from MethodChannel - ๐ฏ Added
ffi_example.dart- Complete FFI usage example
Breaking Changes
- None -
TurbinaSDK(MethodChannel) still available for compatibility - Recommended: Migrate to
TurbinaSDKFFIfor best performance
Dependencies Updated #
- Added
ffi: ^2.1.2 - Added
path_provider: ^2.1.1 - Added
http: ^1.1.0 - Added
archive: ^3.4.10 - Added
crypto: ^3.0.3
[Unreleased] #
Planned for v1.2.0 #
- Complete all stub implementations
- Add more AR effects
- Add video stabilization improvements
- Add chroma key (green screen) support
- Performance optimizations
- Extended documentation with video tutorials
Future Roadmap #
- Web platform support (WebAssembly)
- Desktop support (Windows, macOS, Linux)
- Unity integration
- More AI-powered effects
- Real-time collaboration features
- Cloud rendering service