There is a standard WebRTC p2p web conferencing implementation. Used socket.io and node-static as a server. I need to write both streams (both videos) “on the fly” to a video file. The format does not matter.

Writing a blob and then downloading or uploading it to the server is easy, but how do you write the stream right away? The user should not press the "record" or "save record" buttons. He can just close the conference tab and leave. In this case, the file on the server should already be. That is, it somehow needs to be written there, for example, via web-sites.

Is it all real?

    1 answer 1

    See the Kurrento server ... So far, I managed to do it myself just for such functionality as yours. Those. the client (browser) connects to the currento server as a feast, and that’s all - the server can either write to a file, transcode, or roam further this stream.

    • Please try to write more detailed answers. - Nicolas Chabanovsky
    • Alexey, yes, I also came to him. If you do not want to load the client, then you need a gateway server. I managed to write from the client, but it loads the CPU. If the machine is weak, then the video lags. - SlyDeath
    • Well, yes, not every client will pull. And how the server - how many at the same time connected clients holds? - redflasher