the future of sip in webrtc
TRANSCRIPT
The Future of SIP in WebRTCRealTimeCommunica.onsontheWeb
BDNOG5 SHAILA SHARMIN L INK3 TECHNOLOGIES LTD DHAKA , 11 APRIL 2016
WebRTC : Web Real Time CommunicaLons WhatWebRTCis:
Browserswithinterac.vevoice&videocommunica.onsAnddatasharingcapabili.es
Nodownloadorplug-in•Easytowriteaudio/videoservice
•Communica.onsbecomeafeature,nottheapplica.on
•PurposebuiltfortheWorldWideWeb
•Collabora.veW3CandIETFstandardiza.on
•Peer2Peer
WebRTC @ Glance
WebRTCoffersreal.mecommunica.onna.velyfromawebbrowser
85%WebRTCcapablebrowsershare,includingMobile,Tabletanddesktop
WebRTCisa“MediaEngine”withjavascriptAPI
WebRTCisatechnology,NOTasolu.on
How WebRTC works? Triangle & Trapezoid
Trapezoid Triangle
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.
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
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.
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.
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.
Winner, Winner?
DoesWebRTCreplaceSIP?
No!! ButWebRTCwilldefinitelymarginalizetheimportanceofSIP.
ThelastdecadehasshownthebenefitsofSIP.ThenextdecadeislikelytoshowthebenefitsofWebRTC.Thecombina.onofthetwomakesthingsevenbeYer,andprovidesplentyofbenefits.