MultiStreamsMixer | Mix Multiple Cameras &
Screens into Single Stream


How to use MultiStreamsMixer?

// https://www.webrtc-experiment.com/MultiStreamsMixer.js

var mixer = new MultiStreamsMixer([microphone1, microphone2]);

// record using MediaRecorder API
var recorder = new MediaRecorder(mixer.getMixedStream());

// or share using WebRTC
rtcPeerConnection.addStream(mixer.getMixedStream());