import {AudioTools} from 'react-native-audio-video-tools';
const audioTools = new AudioTools("https://www.learningcontainer.com/wp-content/uploads/2020/02/Kalimba.mp3");
let res = await audioTools.compress({quality: "medium"});
console.log(res); //an error while getting input
It throws the error with local/remote path. If i change extension, file path it still doesn't work, throws same error.
Platform
Android
Versions
"react-native-audio-video-tools": "^1.0.0",
"react-native-ffmpeg": "^0.5.2",
"react": "17.0.2",
"react-native": "0.66.3",
Steps to Reproduce
yarn add react-native-audio-video-tools
then I ran npx react-native run-android