apivideo / browserLiveStream

Use webcam, browser and Node to stream live video. From api.video (https://api.video)
http://livestream.a.video/
MIT License
193 stars 48 forks source link

transcoding with ffmpeg.js (wasm) #9

Closed mpisat closed 2 years ago

mpisat commented 2 years ago

Is it possible to use ffmpeg.js on the frontend side and transcode, then send pre-processed video to FFmpeg for relay (-c copy) for the final destination?

This way it won't consume much server resources and also paves the way for sending video directly from a web browser via websockify (it's just an idea) or node app (similar approach)

dougsillars commented 2 years ago

no it is not - you cannot open a RTMP socket from the browser (yet...)