Skip to content

Compress audio #10

@Haider-Ali-7

Description

@Haider-Ali-7

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.

Screenshot 2022-05-25 at 12 00 17 PM

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions