Skip to content

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 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