I have created a MERN app with video streaming by using node-media-serve module, with following configuration
node-media-serve
trans: { ffmpeg: \'/vendor/ffmpeg\',