MultiStreamsMixer | Mix Multiple Cameras &
Screens into Single Stream

HOME © Muaz Khan . @WebRTCWeb . Github . Latest issues . What's New?


How to use MultiStreamsMixer?

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

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

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

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