User:Jules/proto02: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
Line 8: Line 8:
''« WebRTC is an open-source project supported by Google, Mozilla and Opera. The API and underlying protocols are being developed jointly at the W3C and IETF. »''
''« WebRTC is an open-source project supported by Google, Mozilla and Opera. The API and underlying protocols are being developed jointly at the W3C and IETF. »''
<br>
<br>
However the project was initiated by Google, they also maintain the website. I can understand that Google's approach might be that they want to create the new standards. The technologies behind are way too complex for my understanding so I'm going along with it.
However the project was initiated by Google, they also maintain the website. I can understand that Google's approach might be that they want to create the new standards. The technologies behind are way too complex for my understanding anyway.
<br><br>
<br><br>
A few years ago we needed private softwares requiring plugins, such as Adobe Flash or Java to establish RTC inside web browsers. The RTC layer is currently available in Mozilla Firefox, Opera, Chrome, IE, Chrome and Mozilla Firefox for Android and iOS.  
A few years ago we needed private softwares requiring plugins, such as Adobe Flash or Java to establish RTC inside web browsers. The RTC layer is currently available in Mozilla Firefox, Opera, Chrome, IE, Chrome and Mozilla Firefox for Android and iOS.  
Line 16: Line 16:
Here is the library I used in the end :<br>
Here is the library I used in the end :<br>
http://www.rtcmulticonnection.org/<br>
http://www.rtcmulticonnection.org/<br>
<br>
Although, the technology is still quite not stable yet and therefore subject to changes.
It uses RTCPeerConnection which enables data streaming from peer to peer.
http://pzwart3.wdka.hro.nl/mediawiki/images/5/5e/WebRTC.png
<br><br>
It worked well, with a few lines of code.<br>
It worked well, with a few lines of code.<br>
<br>
<br>
Line 33: Line 39:
<br>
<br>
The creator, Muaz Khan, did put a lot of effort into its documentation.
The creator, Muaz Khan, did put a lot of effort into its documentation.
<br><br>
Although, the technology is still quite not stable yet and therefore subject to changes.
It uses RTCPeerConnection which enables data streaming from peer to peer.

Latest revision as of 23:45, 17 November 2014

RTC

Real Time Communication is defined as any mode of communication enabling users to exchange information with very little latency (like with telephone, IRC etc.). Unlike timeshifting communication (forums for instance), RTC implies peer to peer communication and doesn't require storage in between the source and destination.



WEB-RTC

« WebRTC is an open-source project supported by Google, Mozilla and Opera. The API and underlying protocols are being developed jointly at the W3C and IETF. »
However the project was initiated by Google, they also maintain the website. I can understand that Google's approach might be that they want to create the new standards. The technologies behind are way too complex for my understanding anyway.

A few years ago we needed private softwares requiring plugins, such as Adobe Flash or Java to establish RTC inside web browsers. The RTC layer is currently available in Mozilla Firefox, Opera, Chrome, IE, Chrome and Mozilla Firefox for Android and iOS. This means easier ways of developping applications enabling real time communication with the help of a Javascript API. IETF and W3C are working on the standardization of WebRTC. It might take a little while for them to finish discussing the technological components.

Here is the library I used in the end :
http://www.rtcmulticonnection.org/

Although, the technology is still quite not stable yet and therefore subject to changes. It uses RTCPeerConnection which enables data streaming from peer to peer.

WebRTC.png

It worked well, with a few lines of code.

<script>
var connection = new RTCMultiConnection().connect();
	connection.session = {
		audio: true,
		video: false,
	}
document.querySelector('#openNewSessionButton').onclick = function() {
    connection.open();
};

</script>


The creator, Muaz Khan, did put a lot of effort into its documentation.