Before submitting a new issue
Bug summary
Calling compressVideo with bitrate has no effect, since the bitrate parameter is completely unused in the compressVideo function in VideoProcessor.swift:
Library version
2.3.6
Environment info
System:
OS: macOS 26.5.2 Shell: zsh 5.9
Binaries:
Node: 25.2.1 Yarn: 1.22.19 npm: 11.6.2 Watchman: 2026.07.27.00
Managers:
CocoaPods: 1.17.0
SDKs:
iOS SDK: iOS 26.5 (DriverKit 25.5, macOS 26.5, tvOS 26.5, visionOS 26.5, watchOS 26.5)
Android SDK: API 23,26,30,32,33,34,35,36 | Build Tools 30.0.3–36.0.0 | NDK 29.0.14206865
IDEs:
Xcode: 26.6/17F113 Android Studio: 2025.3
Languages:
Java: 21.0.8 Ruby: 4.0.6
npmPackages:
expo: 55.0.12 react: 19.2.0 react-native: 0.83.4 react-dom: 19.2.0
Android: hermesEnabled: true, newArchEnabled: true
iOS: hermesEnabled: true (expo.jsEngine: hermes), newArch on by SDK default
Expo Workflow: bare
Device: iPhone 13 (iPhone14,5), iOS 26.2.1
Steps to reproduce
- Call
MediaToolkit.compressVideo(result.uri, { bitrate: 4000000});
- Inspect resultant output file and note that bitrate is not 4000000
Reproducible example repository
n/a
Before submitting a new issue
Bug summary
Calling
compressVideowithbitratehas no effect, since thebitrateparameter is completely unused in thecompressVideofunction inVideoProcessor.swift:react-native-media-toolkit/ios/VideoProcessor.swift
Line 752 in ab36723
Library version
2.3.6
Environment info
Steps to reproduce
MediaToolkit.compressVideo(result.uri, { bitrate: 4000000});Reproducible example repository
n/a