Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(android): Write the recorded files to external storage directory, and pass in EXTRA_OUTPUT so the files can be read after onActivityResult is called #28

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

pencilcheck
Copy link

The original temporary cache directory is not readable since you cannot do playback what you just recorded in the camera app. Likewise causing the path not available after the the activity result has been called.

By changing the path to external storage directory and passing the EXTRA_OUTPUT options, it allows the file at data uri still able to be read.

@pencilcheck pencilcheck changed the title Write the recorded files to external storage directory so they can be read after onActivityResult is called. Write the recorded files to external storage directory, and pass in EXTRA_OUTPUT so the files can be read after onActivityResult is called. Nov 4, 2014
@janpio janpio added the bug label Sep 17, 2018
@janpio janpio changed the title Write the recorded files to external storage directory, and pass in EXTRA_OUTPUT so the files can be read after onActivityResult is called. fix(android): Write the recorded files to external storage directory, and pass in EXTRA_OUTPUT so the files can be read after onActivityResult is called Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants