At the end of the webcam record upload automatically in to a folder, in my website

Good afternoon,

I’m trying to make a looped streaming ( in javascript ) without using encoders, but re-looping any time same file ( mp4, webm ), without using any server, i’ve followed your old posts, the fact is that at the end of the record, will not storage the file into my website folder.

I’ve set an automatic record and stop when page is loaded, following your example, building on body load.

I know that for some seconds people will not see any cam, taking time to restore new one file.

I need for two things ( also using php ).

1.File could be always the same, record, stop and play ( for example myfolder/$user.php ) obviously each one file for user.

For example: 60 seconds of recordings, and make a new file ( myfolder/$user.php ).

Cause users that push that stream ( webcam ) user, will see deferred mp4/webm video for some seconds.

2.Delete download function because it’s useless, but straightly upload into the server.

My aim is make a streaming without using any server, but just ( javascript record API ).

I’ve forgot to mention one thing, please don’t suggest me mysql, i need something in javascript/php.Thanks.

It’s important uploading automatically when record has finished.

Please let me know and thanks in advance for your replies.

I’ve tried many times but i don’t know really how to do in javascript.