1.6.0 • Published 3 years ago

light-rtc v1.6.0

Weekly downloads
8
License
ISC
Repository
-
Last release
3 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

3 years ago

1.6.0

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.4-beta.0

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago