Download presentation
1
webRTC Andreas Trantidis
Lead Developer e-labs.gr / Full Stack Web Developer MSc Software Engineering and Telecommunications Likes: javascript, Python, Mac, Linux, coffee, beers Follows: Google, Mozilla, echo.js, SmashingMag Don’t’ llike: IE (all versions), radio recurrent playlists
2
Intro Web Real Time Communications
Enables peer-to-peer video, audio and data sharing between browsers Released as open source project in May by Google
3
Some definitions “WebRTC is a free, open project that enables web browsers with Real-Time Communications (RTC) capabilities via simple JavaScript APIs”[webrtc.org] The mission of the Web Real-Time Communications Working Group, part of the Ubiquitous Web Applications Activity, is to define client-side APIs to enable Real-Time Communications in Web browsers[w3.org]
4
The “web” The “web” is more important than the RTC on the term “webRTC” RTC is something that already exists ... but (until now) not on the browsers Define “web” Mozilla initiated a new meaning of the term “web”. It defines as “web” the browser platform (e.g. “Web vs Native”, “web application”)
5
Keep them for the moment. build a nation. think big. the web will win
Pythia, the natives refuse to work out of their area, refuse to learn greek. What should I do?
6
Browsers support
8
How it works Gets streaming audio, video or other data
Gets network info and exchanges it with other webRTC clients in order to enable connection through NATs and firewalls Coordinate signaling communication Exchange info about media and client capabilities Communicate streaming audio, video or data
9
Use Case 1. The user A provides to the browser access to his/her mic and camera (user B also) 2. The User A initiates a call to User B 3. User B receives the call and accepts it 4. The video and audio from each side (peer) is transmitted to other part (through p2p connection) 5. The two Users enjoy a video call directly from their browsers
10
Insights: MediaStream [1]
11
Insights: MediaStream [2]
Internal mechanisms take care of all issues like: Noise reduction / echo cancellation / image quality Encode to audio and video codecs according to the bandwidth Take care of network jitter and packet loss Synchronizes the two streams Once all of this work is done the web app receives the output
12
Insights: MediaStream [3]
13
Insights: MediaStream [4]
As easy as...
14
Insights: Protocols
15
Insights: RTCPeerConnection
Responsible for making the connection between peers Responsible for keeping connections alive Responsible for exchanging info about (Session Description Protocol – Microsoft claims SDP to be “very difficult for the developers to use”) Needs Interactive Connectivity Establishment servers (STUN/TURN)
16
APIs OpenTOK (http://tokbox.com/opentok) EasyRTC (http://easyrtc.com)
Lynckia ( SIP ( SimpleWebRTC ( Apidaze ( Many more...
17
Applications of webRTC 1. click-to-call
E-shops Insurances / other goods and services selling websites Support (e.g. Telecommunications companies) Medical help companies Why webRTC? For the first time structured applications (like websites) can include direct calls.
18
Applications of webRTC 2. video matters
Web conferencing (internal companies / organizations meetings, conferences, online skype alternatives) Teaching / tutoring sessions Online medical help Why webRTC? Cost efficient (p2p) User friendly / instant / no hardware, no plugins, no installations / no third party software
19
Applications of webRTC 3. peer-to-peer
Torrent Hybrid (p2p / server) media streaming hosting (video on demand, live streaming, any other case) why webRTC? Huge savings in bandwidth and cost (up to 80%)
20
Example apps CallMe on FB (https://apps.facebook.com/calllme/)
Audio game ( Fitaborate ( Peer5 ( StremRoot ( Experiment: chrome-experiment/
21
Tech Wars [1] Apple doesn't support webRTC (it just ignores the technology) Microsoft released its own competing technology called “CU-RTC” How about the standards Microsoft?!
22
Tech Wars [2] Fact: 4.7 billion mobile webRTC devices by [ABI Research report / Sept ] (Some of the) Supporters: Google, Mozilla, AT&T, Telefonica, Cisco, Bistri, Alcatel, Ericsson
23
Cons IE / Apple Still not on a mature technology (bleeding edge)
Isn't programmed using php
24
References http://www.pubnub.com/blog/what-is-webrtc/
25
Thank you!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.