muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
https://www.webrtc-experiment.com/RecordRTC/
MIT License
6.58k stars 1.76k forks source link

Peer to Peer video call through WebRTC and create Chunk file #460

Open imdrpn opened 5 years ago

imdrpn commented 5 years ago

how to send every second recorded video call 's chunk file of peer to peer video call to server ?

swashvirus commented 5 years ago

That's what am looking for brother any solution yet?

karx commented 5 years ago

I found some solutions online that talked about steaming the mediaStreams through socket.io or similar libraries, but nothing usable out of the box. I am now actively looking into this, open for discussions or suggestions.

imdrpn commented 5 years ago

That's what am looking for brother any solution yet?

No, still i didn't get any solution .

swashvirus commented 5 years ago

its included in the demos download espetialy the one which automatocally uploads using jquery

snegokop commented 5 years ago

There are some exotic solutions. but all with flaws:

muaz-khan commented 5 years ago

Did you check this?

If you want to use IO-techs (socket.io/etc) to send instant chunks then please make sure to use queuing system. Most recent chunk must wait for existing chunks to be finished uploading to server.

Otherwise, give each chunk a UID and make sure that server received all chunks before making a sort then compilation or concatenation using ffmpeg or other tools.

I've a demo that returns intervals based chunks:

Here is a demo that I created a long time back (donno if it still works):