tanersener / react-native-ffmpeg

FFmpeg for react-native. Not maintained anymore. Superseded by FFmpegKit.
GNU General Public License v3.0
401 stars 52 forks source link

[RNFFprobe] TypeError: getAllProperties is not a function #248

Closed ghost closed 3 years ago

ghost commented 3 years ago

Description Trying to get file information by running the following command:

let information_uri = await RNFFprobe.getMediaInformation(uri);
if (information_uri.getAllProperties() !== undefined) {

}

But getting the following error message: image

But when I try to log only information_uri it showed the following object: image

Expected behavior information_uri.getAllProperties() should show the results and can access its properties.

Current behavior information_uri.getAllProperties() show error message getAllProperties is not a function and cannot access its properties.

Screenshots Above Screenshots.

Logs Post logs here or paste them to Ghostbin and insert the link here.

Environment

Other Add any other context about the problem here.

ghost commented 3 years ago

You know, sometime it turning back to normal, after reload app several times information_uri.getAllProperties() work normal. image