Open Madriix opened 2 years ago
yes you can.. The code for that is actually in a different repository: https://github.com/apivideo/recordavideo
The function is commented out - its called "download" and it will save a webm. It saves a webm because all webRTC videos are webm. You'll have to transmux it to mp4.
Ah yes this system is like a recording then an upload. The thing I would like to have is to turn on my webcam from the web page and ffmpeg it records in real time on the server side with ffmpeg and it records the file.mp4 or file.webm without doing any upload on the client side which slow
It's doable ?
In the code for record.a.video:
None of the video EVER hits the server, and no FFMPEG is required. note 3- is commented out in the Github repo. Instead the video is uploaded to api.video where it is transcoded into a mp4 and a stream.
Hi
I got to know "BrowerLiveStream" via this page https://stackoverflow.com/questions/67508284/webrtc-video-track-to-ffmpeg-in-node
Is it possible to replace the RTMP system with a simple mp4 video?
Salutations