"Getting Started with WebRTC" The first chapter WebRTC introduction

Source: Internet
Author: User
Tags new set

"Getting Started with WebRTC" The first chapter WebRTC introduction
?
This chapter is a conceptual introduction to WEBRTC.


after reading this chapter. You will have a clear understanding of the following:
  . What is WEBRTC
  . How to use it
  . which browsers support

1.1. WEBRTC IntroductionWorld Wide Web (WWW) is the early days of the 1990 era,
It is built on a page-centric model that uses HREF hyperlinks.
In the early model of this web page, the browser is implemented by updating HTML content from a Web page to a Web page.

By the year 2000, a new way of web browsing has been developed,
and it becomes a standard in the back. The XMLHttpRequest (XHR) API.


This new XHR API agrees that Web developers create Web apps that do not need to navigate to a new page to update the display or user interface.
This enables developers to use server-based Web services that contain snippets of access to structured data or other page content.
This brings a whole new approach to Web applications, which today is called Web 2.0.
services based on the XHR API include Gmail, Facebook, Twitter and many other dynamic apps, social apps.

now that the page has evolved, there is a way to transfer
it agrees that independent web browsers stream data directly between each other. Instead of sending through the intermediary server.
this new way of communication is built on a new set of APIs,
and is standardized by the web real-time Communications working Group (http://www.w3.org/2011/04/webrtc/).
The Working Group is affiliated with the consortium.



Just as the XHR API led the Revolution in Web 2.0. The new WEBRTC standard will create a new revolution.


we have entered the real-time web era.

Use of 1.2 WEBRTCLive web agrees with you and other Web browsers. and web-accessible devices to build high-speed and easy dynamic connections,
This is a new way to innovate end-to-end communication,
contains text-based chats. File sharing. Block sharing, games, sensor data feedback, audio calls. Video chat and more.


can see the application of WEBRTC is very extensive.
Direct and secure peer-to-peer communication between browsers can have a huge impact on today's Web applications. Will reshape the entire physical network.

the direct-to-peer connection provides a low latency that enables game operation and video streaming. Faster, more real-time interactions, such as sensor feedback.

A secure peer-to- peer connection allows you to implement a private exchange of information without the intermediate server records and management.
This reduces the need for large service providers. At the same time, it offers opportunities for people to create new services and applications.
It also improves the mechanisms for privacy protection.

Moreover, the efficient binary data stream-to-peer exchange eliminates the need for serialization, re-encoding or data processing.
it brings a more efficient application of network and application resources. At the same time, fewer errors and more robust data exchange pipelines were created.

This chapter is a preview of the simple application of WEBRTC and reads through this book. You get all the information that turns all your new ideas into practical applications.

1.3 Trial WEBRTCCheck to see if your browser supports webcam access and can go through the following URLs:
Http://www.simpl.info/getusermedia
It is also possible to try on a mobile device, assuming success, to see the video preview form normal video echo.

ability to open sites
http://apprtc.appspot.com/
chatting with others, this site is based on WEBRTC. (I tried, I couldn't open it.)
You can also try this:
http://jitsi.shengbin.me/
or
https://meet.jit.si/
(the latter two I tried.) able to use)

1.3 Browser compatibility1. Chrome and Firefox are supported on the PC;
2. Chrome and Firefox are supported on Android.
need to use: chrome://flags/
turn on the WEBRTC switch;
3. Opera also supports
4. Microsoft has its own WEBRTC scheme, called Cu-rtc-web,
http://html5labs.interoperabilitybridges.com/cu-rtc-web/curtc-web.htm.
5. Apple
Does Apple now have any claims to support WEBRTC in Safari,
therefore, to apply it can only be implemented in iOS using an early conceptual browser Bowser implemented by the Ericsson Lab,
it can be found in: Http://labs.ericsson.com/apps/bowser.

in fact, Safari and Chrome, like opera, are based on the WebKit platform. Apple's lack of open WEBRTC is largely not a technical reason.
?
1.4 Keep up to dateWEBRTC is not a simple API, it is a collection of APIs and protocols.
To be able to this site:
http://www.webrtc.org,
look at its latest developments and access to various resources.

Getting Started with WebRTC the first chapter of WebRTC introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.