1.6.0 • Published 5 years ago

light-rtc v1.6.0

Weekly downloads
8
License
ISC
Repository
-
Last release
5 years ago

rtc-light

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));
	 });
1.5.2

5 years ago

1.6.0

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.4-beta.0

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago