The mediarecorder https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder allows to record a stream in chunks and then save them on server.
But is it possible