Use WebRTC/GetUserMedia stream as input for FFMPEG

ApplowPi picture ApplowPi · Jan 22, 2020 · Viewed 8.7k times · Source

I'm recording my screen with gerUserMedia and get my video & audio stream. I'm then using WebRTC to send/receive this stream on another device. Is there any way I can then use this incoming webrtc stream as an input for ffmpeg by converting it somehow?

Everything I'm working with is in javascript.

Thanks in advance.

Answer

Sean DuBois picture Sean DuBois · Jan 25, 2020

ffmpeg doesn't have WebRTC support (yet) but you have a couple other options that I know of.