an-rahulpandey / cordova-plugin-mediapicker

Cordova/Phonegap Media Picker plugin
Apache License 2.0
7 stars 12 forks source link

[iOS]GetSong () method takes time . #19

Closed Yanchi4425 closed 7 years ago

Yanchi4425 commented 7 years ago

Hi. Thank you for a nice plugin.

Running the GetSong () method on iOS takes about 4 seconds. (Android works in a moment.) When multiple selection is made, it becomes late by that much.

The behavior of the native itself seems not to be late. It takes a considerable amount of time from when native processing ends until Success is called. Is it just a problem with my device?

My environment:

Thanks.

an-rahulpandey commented 7 years ago

The songs are exported using AVAssetExportSession in iOS.That's why multiple selection takes time because each song is converted one by one.