numandev1 / react-native-compressor

🗜️Compress Image, Video, and Audio same like Whatsapp 🚀✨
MIT License
853 stars 85 forks source link

[RN 0.74] - Video compressed on Android do not have sound #289

Closed jblarriviere closed 2 months ago

jblarriviere commented 3 months ago

Current behavior

I'm experiencing the same behavior as #141 and #163 since I've upgraded to RN 0.74 Could the update cause a regression in Android video compression?

Expected behavior

Video have sound after compression and can be played in chrome

Platform

React Native Version

0.74

React Native Compressor Version

1.8.24

Reproducible Steps And Demo

const compressedPath = await VideoCompressor.compress(path, {}, (compressionProgress) => {
              //whatever
            }),

Video file available at compressedPath does not have sound. It makes it impossible to play in Chrome browser once uploaded to a server.

noelsp commented 3 months ago

Hi, maybe your are experiencing this same issue: https://github.com/numandev1/react-native-compressor/issues/268

Titozzz commented 3 months ago

https://github.com/numandev1/react-native-compressor/pull/290

numandev1 commented 2 months ago

released in 1.8.25