the future of sip in webrtc

11
The Future of SIP in WebRTC Real Time Communica.ons on the Web BDNOG5 SHAILA SHARMIN LINK3 TECHNOLOGIES LTD DHAKA, 11 APRIL 2016

Upload: bangladesh-network-operators-group

Post on 15-Apr-2017

452 views

Category:

Internet


0 download

TRANSCRIPT

Page 1: The Future of SIP in WebRTC

The Future of SIP in WebRTCRealTimeCommunica.onsontheWeb

BDNOG5 SHAILA SHARMIN L INK3 TECHNOLOGIES LTD DHAKA , 11 APRIL 2016

Page 2: The Future of SIP in WebRTC

WebRTC : Web Real Time CommunicaLons WhatWebRTCis:

Browserswithinterac.vevoice&videocommunica.onsAnddatasharingcapabili.es

Nodownloadorplug-in•Easytowriteaudio/videoservice

•Communica.onsbecomeafeature,nottheapplica.on

•PurposebuiltfortheWorldWideWeb

•Collabora.veW3CandIETFstandardiza.on

•Peer2Peer

Page 3: The Future of SIP in WebRTC

WebRTC @ Glance

WebRTCoffersreal.mecommunica.onna.velyfromawebbrowser

85%WebRTCcapablebrowsershare,includingMobile,Tabletanddesktop

WebRTCisa“MediaEngine”withjavascriptAPI

WebRTCisatechnology,NOTasolu.on

Page 4: The Future of SIP in WebRTC

How WebRTC works? Triangle & Trapezoid

Trapezoid Triangle

Page 5: The Future of SIP in WebRTC

SIP and WebRTC are different in their funcLons?

 SIPstandsforSessionIni.a.onProtocol,itisatext-basedprotocolusedinInternettelephony(VoIP)forsignalingandcontrollingmul.mediasessions.

It’slikethesquareandrectangleconcept;allsquaresarerectangles,butnotallrectanglesaresquares.SIPcanexistwithoutWebRTC,butWebRTCneedsasignalingprotocoltofullyoperate.

 TheWebRTCvs.SIPbaYleisactuallyasetoftwodifferentbaYlesgoingonatonce:

1. SIPvs.SignalingProtocolX2. WebRTCvs.VoIP(Browservs.PSTN)

 SIPdoessignaling.Andalsodefineshowmediagetshandled.WebRTCdoesmedia.ButWebRTCdoesn’tdefinehowsignalingishandled.Nordoesitcare.

Page 6: The Future of SIP in WebRTC

Voice Over Internet Protocol §  “VoIP”aBroadterm§  Growntoencompass

mul.media,notjustvoice§  Diverseprotocols

§  somewelldefinedstandards,somede-facto,someproprietary

§  Usedinavarietyofnetworks§  IPv4,IPv6,PublicInternet,

PrivateLANs,etc.

UC

Business

VoIP

Fixed Line

Page 7: The Future of SIP in WebRTC

Interworking with tradiLonal VoIP

IPv4/IPv6Network

MediaTransport

MediaDescrip.on

SignalingTransport

SignalingProtocol

DTLS-SRTP

STUN

ICETURN

RTP-Mux RTP

BUNDLE

DataChannels

MSID

UDP SDES-SRTP

MSRPUniqueTransportperStream

Tradi.onalSDP

TCP TLSUDPWebSockets

HTTP

UndefinedSIP XMPP

H.323

CodecsOpus

VP8H.264

AMR-WBVoIPandWebRTCSimilari.es

•  Transmissionofcommunica.ondatabetweenUsersinreal-.me

•  UseRTP,SDPO/A•  G.711•  RunoverIPnetworks

VoIPandWebRTCdifferencesVoIPusesamul.tudeofvariantssuchasVoIPoverDSL/cablemodem,VoWiFi/3G,VoLTE,andRichCommunica.onSuite(RCS),whileWebRTCisfocusedonbrowser-basedcommunica.ons.

Page 8: The Future of SIP in WebRTC

Let's Talk Signaling- WebRTC does not define a signaling protocol

 Butsignalingisrequiredforcallsetup,WebRTCsolu.onsmustincludeasignalingserver.WebRTCitselfdoesn'tcarehowthatserverimplementssignaling,butitmustexistsomewhereinthenetwork--whichbringsustoSIP.

 SIPdefinessignaling.SessionDescrip.onProtocol(SDP),definesmedia.SIPandSDPworktogethertocreate,manage,andteardownmediasessionsofanytype.

 SignalingwaslekoutofWebRTCfortwogoodreasons:

 1.Differentapplica.onsmayrequire/preferdifferentprotocols.TheWebRTCworkinggroupdidnotwanttolockitdowntosomethingthatmayturnouttobeinadequateforallitsuses.

 2.WebRTCrunsinaWebbrowser,andsupportforsignalingwouldrequirethatWebpagesbestateful.Thisbecomesproblema.cifsignalingislosteach.meapagereloads.

Page 9: The Future of SIP in WebRTC

Three aspects of WebRTC that marginalizing the importance of SIP! 1. WebRTCisallabout“dumbingdown”communicaKons–makingitaccessibletoalotmoredevelopersthanjustusVoIPengineers.

2. WebRTCisaboutembeddingcommunicaKons–changingitfromaserviceintoafeatureofanotherservice.

3. WebRTCisaboutkillingfederaKons–WebRTCisen.cingasiloapproachtoservices.Youneedcomms?JustplugWebRTCinandyou’redone.Noneedtothinkaboutinterworkingwithothers,connec.ngorfedera.ngwithmorenetworks.

Page 10: The Future of SIP in WebRTC

Winner, Winner?

 DoesWebRTCreplaceSIP?

 No!! ButWebRTCwilldefinitelymarginalizetheimportanceofSIP.

 ThelastdecadehasshownthebenefitsofSIP.ThenextdecadeislikelytoshowthebenefitsofWebRTC.Thecombina.onofthetwomakesthingsevenbeYer,andprovidesplentyofbenefits.

Page 11: The Future of SIP in WebRTC