SlideShare une entreprise Scribd logo
1  sur  24
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.1
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.
WebRTC Infrastructure:
THE HARD PARTS
WebRTC Global Summit
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.2
Why Terminate Media?
NAT Traversal: TURN Gateway Media Server
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.3
NAT Traversal: TURN Gateway Media Server
Why Terminate Media?
TURN
Server
TURN for NAT Traversal
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.4
NAT Traversal: TURN Gateway Media Server
Why Terminate Media?
Gateway for Interworking
Web
signaling
WebRTC
media
SIP
VoIP
media
GW SIP
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.5
NAT Traversal: TURN Gateway Media Server
Why Terminate Media?
Media Servers for…
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.6
Many Reasons for a Media Server
Conferencing InterworkingTranscoding
Stream processingRecording Person-to-machine
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.7
Why process media server-side?
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.8
Many Reasons for a Media Server
Conferencing
Conferencing
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.9
Mesh model does not scale
Distributed peer-to-peer mesh Centralized with media server
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.10
Many Reasons for a Media Server
Transcoding
Transcoding
Transcoding: because we live in an imperfect world
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.11
Many Reasons for a Media Server
Server Side Media-Processing
Server-side media handling for:
 Application work-flows
 Security
 Compliance
 Performance
 Reliability
Stream processingRecording Person-to-machine
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.12
Add value to terminated media
+
Today
• Audio & video conferencing
• Multi-camera switching
• Compliance recording
• Speech detection
• Audio/video insertion
• Speech recognition
• Automated IVR navigation
• Speaker CDR analytics
Not too far away
• Live RTC stream distribution
• Facial recognition
• Voice fingerprinting
• Health biometrics
• Object detection
• Machine vision
• Sentiment analysis
• Augmented reality
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.13
Many Reasons for a Media Server
Conferencing
Conferencing
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.14
Traditional MCU Resource Usage
Worst-case process:
1. Each stream
decoded at the
MCU
2. MCU mixes each
conferee
3. MCU encodes
individual mix for
each conferee
MCU
1
1 2
2
3
3
4
45
5
6
6
Ingress streams 6
Egress streams 6
MCU decodes 6
MCU encodes 6
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.15
Efficient MCU Resource Usage
Efficient process:
1. Each stream
decoded at the
MCU
2. MCU mixes each
conferee
3. MCU shares same
encoder for all
conferees
MCU
1
2
3
4
5
6
Ingress streams 6
Egress streams 6
MCU decodes 6
MCU encodes 1
1
30%-50% reduction in compute resources
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.16
Newer Approach: SFU
SFU
Selective Forwarding Unit
(SFU) routing
Clients send one & receive
many
Client can instruct SFU
which streams to send
High throughput
Can be lots of downlink
bandwidth
Low latency
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.17
Newer Approach: SFU
SFU
Selective Forwarding Unit
(SFU) routing
Clients send one & receive
many
Client can instruct SFU
which streams to send
High throughput
Can be lots of downlink
bandwidth
Low latency
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.18
New WebRTC Approach: Simulcast
SFU
High bitrate
Low bitrate
Selective Forwarding Unit
(SFU) with Simulcast
Clients send multiple
streams to SFU
one high-bit rate
one or more lower-bit
Client directs SFU which
streams to receive
Reduces bandwidth vs. SFU
Simulcast in WebRTC
coming
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.19
Future Approach with VP9 – SVC?
SFU
MediumHigh LowLayered bitrates:
Selective Forwarding Unit
(SFU) with Scalable Video
Coding (SVC)
Clients send layered
stream to SFU
Layers have varying bitrates –
time, size, quality
SFU directs who gets what
Coming to WebRTC
eventually
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.20
Media server network model
Load
BalancerMRB
Client Client Client Client Client Client
App Server
App Server
App Server
Media
Server
Media Resource Broker:
Intelligent load balancer &
orchestration for media servers
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.21
Pseudo Call-flow with a media server
AS MRB MS1 MS2 Client
Call signaling
Media
control
MS1 status
MS2 status
Media
control Media
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.22
Pseudo Call-flow – traditional fail-over with RE-INVITE
AS MRB MS1 MS2 Client
Call signaling – REINVITE with new
addresses
Media
control
MS1 status
MS2 status
Media control + call states
Media
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.23
Pseudo Call-flow – fail-over the cloud/NFV way
AS MRB MS1 MS2 Client
Media
control
MS1 status
MS2 status
New container
Media
Memcache & Virtual IP
Address
COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.24
Conclusions
 Terminating media isn’t cheap, so avoid it if you can
 Like it or not, you will probably need server-side media sometimes
 If you need server-side media, maximize the value you get from it
 Architectures are evolving to make media-processing more efficient & scalable

Contenu connexe

Tendances

How to Make WebRTC Useful for Business
How to Make WebRTC Useful for BusinessHow to Make WebRTC Useful for Business
How to Make WebRTC Useful for Business
Dialogic Inc.
 

Tendances (20)

DeveloperWeek 2015 - WebRTC - Where to start and how to scale
DeveloperWeek 2015 - WebRTC - Where to start and how to scaleDeveloperWeek 2015 - WebRTC - Where to start and how to scale
DeveloperWeek 2015 - WebRTC - Where to start and how to scale
 
MediaInteractive - Born for the New World
MediaInteractive - Born for the New WorldMediaInteractive - Born for the New World
MediaInteractive - Born for the New World
 
Deploying WebRTC successfully – A web developer perspective
Deploying WebRTC successfully – A web developer perspectiveDeploying WebRTC successfully – A web developer perspective
Deploying WebRTC successfully – A web developer perspective
 
Beyond the MCU
Beyond the MCUBeyond the MCU
Beyond the MCU
 
Peer-to-Server Media in WebRTC (Enterprise Connect 2014)
Peer-to-Server Media in WebRTC (Enterprise Connect 2014)Peer-to-Server Media in WebRTC (Enterprise Connect 2014)
Peer-to-Server Media in WebRTC (Enterprise Connect 2014)
 
Server-side WebRTC Infrastructure
Server-side WebRTC InfrastructureServer-side WebRTC Infrastructure
Server-side WebRTC Infrastructure
 
Workshop web rtc implementation details
Workshop web rtc implementation detailsWorkshop web rtc implementation details
Workshop web rtc implementation details
 
Value Added Services and WebRTC
Value Added Services and WebRTCValue Added Services and WebRTC
Value Added Services and WebRTC
 
How IBM and Dialogic Are Making Conferencing Smarter with AI
How IBM and Dialogic Are Making Conferencing Smarter with AIHow IBM and Dialogic Are Making Conferencing Smarter with AI
How IBM and Dialogic Are Making Conferencing Smarter with AI
 
Integrated Media Gateway and the Transition to IP
Integrated Media Gateway and the Transition to IPIntegrated Media Gateway and the Transition to IP
Integrated Media Gateway and the Transition to IP
 
How to Make WebRTC Useful for Business
How to Make WebRTC Useful for BusinessHow to Make WebRTC Useful for Business
How to Make WebRTC Useful for Business
 
Putting WebRTC Media in the Cloud
Putting WebRTC Media in the CloudPutting WebRTC Media in the Cloud
Putting WebRTC Media in the Cloud
 
What's Next for WebRTC
What's Next for WebRTCWhat's Next for WebRTC
What's Next for WebRTC
 
OpenCloud IMS WebRTC Workshop Adaptive Signaling Bridging the Network Divide
OpenCloud IMS WebRTC Workshop Adaptive Signaling Bridging the Network DivideOpenCloud IMS WebRTC Workshop Adaptive Signaling Bridging the Network Divide
OpenCloud IMS WebRTC Workshop Adaptive Signaling Bridging the Network Divide
 
IMS WebRTC Workshop Oracle
IMS WebRTC Workshop OracleIMS WebRTC Workshop Oracle
IMS WebRTC Workshop Oracle
 
Advanced Speech MediaEngine Contact Center
Advanced Speech MediaEngine Contact CenterAdvanced Speech MediaEngine Contact Center
Advanced Speech MediaEngine Contact Center
 
The Impact of VoLTE on BSS
The Impact of VoLTE on BSSThe Impact of VoLTE on BSS
The Impact of VoLTE on BSS
 
Radisys at Mobile World Congress Americas
Radisys at Mobile World Congress AmericasRadisys at Mobile World Congress Americas
Radisys at Mobile World Congress Americas
 
Company Profile: F5 Networks’ Traffix Signaling Delivery Controller and BIG-I...
Company Profile: F5 Networks’ Traffix Signaling Delivery Controller and BIG-I...Company Profile: F5 Networks’ Traffix Signaling Delivery Controller and BIG-I...
Company Profile: F5 Networks’ Traffix Signaling Delivery Controller and BIG-I...
 
Demonstrating Breakthroughs in MEC for Media Analytics with AI Inference
Demonstrating Breakthroughs in MEC for Media Analytics with AI InferenceDemonstrating Breakthroughs in MEC for Media Analytics with AI Inference
Demonstrating Breakthroughs in MEC for Media Analytics with AI Inference
 

Similaire à Web rtc infrastructure the hard parts v4

WebRTC Expo V keynote by Jim Machi
WebRTC Expo V keynote by Jim MachiWebRTC Expo V keynote by Jim Machi
WebRTC Expo V keynote by Jim Machi
Robin Carley
 
Web rtc expo v keynote final3
Web rtc expo v keynote final3Web rtc expo v keynote final3
Web rtc expo v keynote final3
Robin Carley
 
PowerMedia XMS at Mobile World Congress 2014
PowerMedia XMS at Mobile World Congress 2014PowerMedia XMS at Mobile World Congress 2014
PowerMedia XMS at Mobile World Congress 2014
Dialogic Inc.
 
Converging IPTV and OTT: Building an Enhanced Value Proposition for Consumers
Converging IPTV and OTT: Building an Enhanced Value Proposition for ConsumersConverging IPTV and OTT: Building an Enhanced Value Proposition for Consumers
Converging IPTV and OTT: Building an Enhanced Value Proposition for Consumers
Verimatrix
 

Similaire à Web rtc infrastructure the hard parts v4 (20)

Getting Started with WebRTC
Getting Started with WebRTCGetting Started with WebRTC
Getting Started with WebRTC
 
WebRTC Expo V keynote by Jim Machi
WebRTC Expo V keynote by Jim MachiWebRTC Expo V keynote by Jim Machi
WebRTC Expo V keynote by Jim Machi
 
Web rtc expo v keynote final3
Web rtc expo v keynote final3Web rtc expo v keynote final3
Web rtc expo v keynote final3
 
WebRTC Expo V keynote by Jim Machi
WebRTC Expo V keynote by Jim MachiWebRTC Expo V keynote by Jim Machi
WebRTC Expo V keynote by Jim Machi
 
Workshop web rtc customers and use cases
Workshop web rtc customers and use casesWorkshop web rtc customers and use cases
Workshop web rtc customers and use cases
 
WebRTC Challenges in Contact Centers
WebRTC Challenges in Contact CentersWebRTC Challenges in Contact Centers
WebRTC Challenges in Contact Centers
 
Media processing with serverless architecture
Media processing with serverless architectureMedia processing with serverless architecture
Media processing with serverless architecture
 
Future of TV - TV 3.0
Future of TV - TV 3.0Future of TV - TV 3.0
Future of TV - TV 3.0
 
C koehncke webinar v2
C koehncke webinar v2C koehncke webinar v2
C koehncke webinar v2
 
apidays LIVE New York 2021 - Simplify Open Policy Agent with Styra DAS by Tim...
apidays LIVE New York 2021 - Simplify Open Policy Agent with Styra DAS by Tim...apidays LIVE New York 2021 - Simplify Open Policy Agent with Styra DAS by Tim...
apidays LIVE New York 2021 - Simplify Open Policy Agent with Styra DAS by Tim...
 
Unlocking the Power of IoT: A comprehensive approach to real-time insights
Unlocking the Power of IoT: A comprehensive approach to real-time insightsUnlocking the Power of IoT: A comprehensive approach to real-time insights
Unlocking the Power of IoT: A comprehensive approach to real-time insights
 
Real-time Communications at Internet Speed
Real-time Communications at Internet SpeedReal-time Communications at Internet Speed
Real-time Communications at Internet Speed
 
LTE Asia 2014 - Remain Relevant - The Next Generation Diameter Signaling Cont...
LTE Asia 2014 - Remain Relevant - The Next Generation Diameter Signaling Cont...LTE Asia 2014 - Remain Relevant - The Next Generation Diameter Signaling Cont...
LTE Asia 2014 - Remain Relevant - The Next Generation Diameter Signaling Cont...
 
PowerMedia XMS at Mobile World Congress 2014
PowerMedia XMS at Mobile World Congress 2014PowerMedia XMS at Mobile World Congress 2014
PowerMedia XMS at Mobile World Congress 2014
 
WebRTC - Bridging Web and SIP Worlds
WebRTC - Bridging Web and SIP WorldsWebRTC - Bridging Web and SIP Worlds
WebRTC - Bridging Web and SIP Worlds
 
Newtec Dialog Info Session at IBC2015
Newtec Dialog Info Session at IBC2015Newtec Dialog Info Session at IBC2015
Newtec Dialog Info Session at IBC2015
 
TechTalk: Accelerate Mobile Development using SDKs and Open APIs With CA API ...
TechTalk: Accelerate Mobile Development using SDKs and Open APIs With CA API ...TechTalk: Accelerate Mobile Development using SDKs and Open APIs With CA API ...
TechTalk: Accelerate Mobile Development using SDKs and Open APIs With CA API ...
 
Bitmovin LIVE Tech Talks: Analytics for Workflow Automation (ft. Touchstream ...
Bitmovin LIVE Tech Talks: Analytics for Workflow Automation (ft. Touchstream ...Bitmovin LIVE Tech Talks: Analytics for Workflow Automation (ft. Touchstream ...
Bitmovin LIVE Tech Talks: Analytics for Workflow Automation (ft. Touchstream ...
 
Converging IPTV and OTT: Building an Enhanced Value Proposition for Consumers
Converging IPTV and OTT: Building an Enhanced Value Proposition for ConsumersConverging IPTV and OTT: Building an Enhanced Value Proposition for Consumers
Converging IPTV and OTT: Building an Enhanced Value Proposition for Consumers
 
Deploying mobile unified communications and collaboration (UCC) with Microsof...
Deploying mobile unified communications and collaboration (UCC) with Microsof...Deploying mobile unified communications and collaboration (UCC) with Microsof...
Deploying mobile unified communications and collaboration (UCC) with Microsof...
 

Web rtc infrastructure the hard parts v4

  • 1. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.1 COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED. WebRTC Infrastructure: THE HARD PARTS WebRTC Global Summit
  • 2. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.2 Why Terminate Media? NAT Traversal: TURN Gateway Media Server
  • 3. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.3 NAT Traversal: TURN Gateway Media Server Why Terminate Media? TURN Server TURN for NAT Traversal
  • 4. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.4 NAT Traversal: TURN Gateway Media Server Why Terminate Media? Gateway for Interworking Web signaling WebRTC media SIP VoIP media GW SIP
  • 5. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.5 NAT Traversal: TURN Gateway Media Server Why Terminate Media? Media Servers for…
  • 6. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.6 Many Reasons for a Media Server Conferencing InterworkingTranscoding Stream processingRecording Person-to-machine
  • 7. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.7 Why process media server-side?
  • 8. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.8 Many Reasons for a Media Server Conferencing Conferencing
  • 9. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.9 Mesh model does not scale Distributed peer-to-peer mesh Centralized with media server
  • 10. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.10 Many Reasons for a Media Server Transcoding Transcoding Transcoding: because we live in an imperfect world
  • 11. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.11 Many Reasons for a Media Server Server Side Media-Processing Server-side media handling for:  Application work-flows  Security  Compliance  Performance  Reliability Stream processingRecording Person-to-machine
  • 12. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.12 Add value to terminated media + Today • Audio & video conferencing • Multi-camera switching • Compliance recording • Speech detection • Audio/video insertion • Speech recognition • Automated IVR navigation • Speaker CDR analytics Not too far away • Live RTC stream distribution • Facial recognition • Voice fingerprinting • Health biometrics • Object detection • Machine vision • Sentiment analysis • Augmented reality
  • 13. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.13 Many Reasons for a Media Server Conferencing Conferencing
  • 14. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.14 Traditional MCU Resource Usage Worst-case process: 1. Each stream decoded at the MCU 2. MCU mixes each conferee 3. MCU encodes individual mix for each conferee MCU 1 1 2 2 3 3 4 45 5 6 6 Ingress streams 6 Egress streams 6 MCU decodes 6 MCU encodes 6
  • 15. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.15 Efficient MCU Resource Usage Efficient process: 1. Each stream decoded at the MCU 2. MCU mixes each conferee 3. MCU shares same encoder for all conferees MCU 1 2 3 4 5 6 Ingress streams 6 Egress streams 6 MCU decodes 6 MCU encodes 1 1 30%-50% reduction in compute resources
  • 16. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.16 Newer Approach: SFU SFU Selective Forwarding Unit (SFU) routing Clients send one & receive many Client can instruct SFU which streams to send High throughput Can be lots of downlink bandwidth Low latency
  • 17. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.17 Newer Approach: SFU SFU Selective Forwarding Unit (SFU) routing Clients send one & receive many Client can instruct SFU which streams to send High throughput Can be lots of downlink bandwidth Low latency
  • 18. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.18 New WebRTC Approach: Simulcast SFU High bitrate Low bitrate Selective Forwarding Unit (SFU) with Simulcast Clients send multiple streams to SFU one high-bit rate one or more lower-bit Client directs SFU which streams to receive Reduces bandwidth vs. SFU Simulcast in WebRTC coming
  • 19. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.19 Future Approach with VP9 – SVC? SFU MediumHigh LowLayered bitrates: Selective Forwarding Unit (SFU) with Scalable Video Coding (SVC) Clients send layered stream to SFU Layers have varying bitrates – time, size, quality SFU directs who gets what Coming to WebRTC eventually
  • 20. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.20 Media server network model Load BalancerMRB Client Client Client Client Client Client App Server App Server App Server Media Server Media Resource Broker: Intelligent load balancer & orchestration for media servers
  • 21. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.21 Pseudo Call-flow with a media server AS MRB MS1 MS2 Client Call signaling Media control MS1 status MS2 status Media control Media
  • 22. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.22 Pseudo Call-flow – traditional fail-over with RE-INVITE AS MRB MS1 MS2 Client Call signaling – REINVITE with new addresses Media control MS1 status MS2 status Media control + call states Media
  • 23. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.23 Pseudo Call-flow – fail-over the cloud/NFV way AS MRB MS1 MS2 Client Media control MS1 status MS2 status New container Media Memcache & Virtual IP Address
  • 24. COMPANY CONFIDENTIAL © COPYRIGHT 2015 DIALOGIC CORPORATION. ALL RIGHTS RESERVED.24 Conclusions  Terminating media isn’t cheap, so avoid it if you can  Like it or not, you will probably need server-side media sometimes  If you need server-side media, maximize the value you get from it  Architectures are evolving to make media-processing more efficient & scalable

Notes de l'éditeur

  1. Signaling issues heavily discussed My focus is on media Why terminate media?
  2. Sometimes you have to for NAT traversal Traversal Using Relay NAT (TURN)
  3. If you want to Gateway to an existing telephony network, you need to terminate the media so you can change it
  4. And then there are a bunch of applications where you may need to terminate media for your server-side application or just because it works better that way
  5. Some of these other media server use cases include: Traditional video conferencing multi-point control unit (MCU) for bridging multiple parties Transcoding from one audio or video codec to another Interworking WebRTC media with standard VoIP medis Recording a stream or conversation Analyzing or processing a stream in real time, such as inserting an image or video, performing call analytics, or simply adding DTMF Any kind of person to machine or machine to machine that might not involve another person at all like today’s IVRs and speech recognition systems or the emerging computer vision systems for future applications
  6. Do I really need a media server? More server infrastructure = servers, bandwidth, more DevOps = more $$ & more latency Can I do it on the client ? One advantage of today’s fast processors and the web model is that processing can be done in the client or server in many cases. However, there are important trade-offs.
  7. Let’s take a closer look at when server-side media processing makes sense, starting with multi-party conferencing
  8. In most WebRTC design is additional bi-directional stream is added for each party. Each end-point must fully encode and decode the stream for each party. This actually works very well if there is only a couple parties – usually not more than 3 or 4.
  9. In an ideal you could always update your clients with whatever codec you need We live in an imperfect world, so unfortunately transcoding will probably always be needed Transcoding – VP8 to H.264 Mobile – OPUS to AMR-WB OPUS to EVS How about OPUS to AAC
  10. There are many other reasons than TURN for requiring a media server. These include: Traditional video conferencing multi-point control unit (MCU) for bridging multiple parties Transcoding from one audio or video codec to another Interworking WebRTC media with standard VoIP medis Recording a stream or conversation Analyzing or processing a stream in real time, such as inserting an image or video, performing call analytics, or simply adding DTMF Any kind of person to machine or machine to machine that might not involve another person at all like today’s IVRs and speech recognition systems or the emerging computer vision systems for future applications
  11. Now let’s talk briefly about how to effectively scale your media
  12. The downside the the MCU approach is that is very processor intensive on the server, especially when dealing with HD video. The reason is each stream needs to be individually encoded and decoded.
  13. A more efficient, higher-capacity approach is a technique we call encoder sharing. If several devices are receiving the same stream, rather than fully encode each one, you can dramatically increase capacity by encoding only once and sharing that stream.
  14. A newer approach is known as a Selective Forwarding Unit (SFU) In this architecture, each client sends only one stream to the SFU.
  15. The SFU then redirects the stream to only the end points that want to see it. The main task for the SFU is managing the encryption and decryption of the streams No server-side encoding or decoding is required, so the SFU can handle a lot of clients.
  16. An enhancement to this approach is known as simulcast. Rather than just sending one stream, each client sends 2 or more streams – usually one high bitrate and one low bitrate. Often times only a single high-bit rate – i.e. HD video – stream is sent for the active talker and the low bit-rate stream is sent for the others. If a low power or bandwidth limited device is connected then the SFU can forward just the low-bitrate stream.
  17. There is one additional approach called Scalable Video Coding or SVC. Like simulcast, SVC sends multiple streams of varying quality from each client and a centralized SFU does the routing. Unlike simulcast where independent streams are sent, SVC uses a layering approach in a single stream. Like simulcast, the mechanisms for signaling the SFU are not standardized and wide-scale, WebRTC-based systems have yet to emerge.
  18. Fine for a few calls Run into CPS problems with many