Verry light package to simplify Webrtc and make a videoconference in a few lines of code.
Demo : https://github.com/Mfron-42/rtc-videconference
Short example
navigator.mediaDevices.getUserMedia({video : true})
.then(stream => {
let receiver : RTCConnection = undefined;
let initiator : RTCConnection = undefined;
receiver = new RTCReceiver(stream, infos => initiator.addInformations(infos));
initiator = new RTCInitiator(stream, infos => receiver.addInformations(infos));
receiver.onStream(stream => console.log("Remote stream received", stream));
initiator.onStream(stream => console.log("Remote stream received", stream));
});