is there any method to record video on removable sdcard?
anonym24 opened this issue · 4 comments
anonym24 commented
is there any method to record video on removable sdcard?
CrazyOrr commented
You can specify the location of recorded video by the file
parameter when initialize FFmpegFrameRecorder
:
mFrameRecorder = new FFmpegFrameRecorder(file, videoWidth, videoHeight, 1);
anonym24 commented
CrazyOrr commented
Not sure about the Lollipop (21) one, you may check out the part of Select between multiple storage locations from the official doc.
anonym24 commented
the only writeable thing now seems DocumentFile for removable devices, which is not File https://developer.android.com/reference/android/support/v4/provider/DocumentFile.html
to get writable DocumentFile we need to call intent