i used recordRtc to record a video successfully , now i need to upload this video directly to a spêcific folder , lets say folder name is "c:/FOLDER1" , how can i achieve that?
here is my code:
mediaRecorder.onstop = (ev)=>{
let blob = new Blob(chunks, { 'type' : 'video/mp4;' });
chunks = [];
let videoURL = window.URL.createObjectURL(blob);
vidSave.src = videoURL;
var file = new File([blob], 'video.mp4', {
type: 'video/mp4'
});
invokeSaveAsDialog(file);
}
Because this function invokeSaveAsDialog(file)
download it directly and i cant chose where i want to download.