Skip to content

Video selection takes too long #426

@NikiforosDesquared

Description

@NikiforosDesquared

Greetings,
I was having an issue with version 0.10.0, updated to version 0.12.0 but i get the same behaviour.
I want to select a video from the file picker and show a thumbnail/screenshot on my UI, for this, i need the uri/path of the file. In Android it works with no problem, but in iOS, the bigger the video file, the more it takes to actually "give me" the url after selecting it. It can take more than 15 seconds to do so, which is not good ..
i use something like:

viewModelScope.launch {
   selectedVideo = FileKit.openFilePicker(
      selectedType,
      FileKitMode.Single
   )
print(selectedVideo?.path)
}

and it can. take too long to print the path after selecting the video.
Am i doing something wrong?

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