Open Ramin-Bateni opened 4 years ago
You can't. It's browser a security policy. https://stackoverflow.com/questions/13348013/download-file-without-opening-download-dialog
@codev0 Thank you for your reply.
Because I'm using the library in a Electron project I could save the blob as a file with fs
/fs-extra
libraries in node.js.
You cannot save a file to the disk, but you can save the blobs to IndexedDB. I'm currently doing this to prevent video loss if the user refreshes mid recording or upload. I recommend using localforage.
I want to save the recorded video to a file in a special path without dialog when I call STOP function.