RecordRTC and best way and how to save on server

Author: RussellParrottCreated Jun 13, 2013Updated Nov 9, 2022

Hi Mauz Have been playing with your experiments - they are great and very interesting. Please excuse me but I am not a java script person at all - my limitation is a small (very) bit of jQuery - php etc. I have no problem with so if you have already answered this question I apologise.

So I run the RecordRTC "file/s" on my server I can record video and I can stop, I can then view that video (in terms of your demo page), but how do I/can I send/save the file which I assume is a temp file(?) to the server.

The demo page shows this:

/* stop recording video and save recorded file to disk */ recorder.stopVideo(function(recordedFileURL) { window.open(recordedFileURL); });

but is that actually saving the file because my basic understanding is that just opens another window.

Lets say I run the demo on page "record.php" and I have a folder "recordings" how do I get the file into recordings and save it?

Cheers

Source: muaz-khan/WebRTC-Experiment