SlideShare una empresa de Scribd logo
1 de 28
Copyright © NTT Communications Corporation. All rights reserved.
RTC Conference Korea 2018 on November 1st, 2018
Kensaku Komatsu
NTT Communications
Media Processing with
Serverless Architecture
Copyright © NTT Communications Corporation. All rights reserved.
Kensaku Komatsu
Technical manager of ECL SkyWay
Web application evangelist
at NTT Communications
in Silicon valley office
@komasshu
kensakukomatsu
Copyright © NTT Communications Corporation. All rights reserved.
Main Idea of the tech talk today
3
A practice of Serverless Architecture
for Media Processing using WebRTC.
Copyright © NTT Communications Corporation. All rights reserved.
AI / IoT
Copyright © NTT Communications Corporation. All rights reserved.
Agenda of the talk
5
• Current business in WebRTC
• WebRTC GW – enabler for AI/IoT
• Media processing with Serverless architecture
Copyright © NTT Communications Corporation. All rights reserved.
Agenda of the talk
6
• Current business in WebRTC
• WebRTC GW – enabler for AI/IoT
• Media processing with Serverless architecture
Copyright © NTT Communications Corporation. All rights reserved.
ECL SkyWay in nutshell
7
https://webrtc.ecl.ntt.com/en/
Copyright © NTT Communications Corporation. All rights reserved.
Service model
8
P2P / SFU
connectivity
Client SDK
Copyright © NTT Communications Corporation. All rights reserved.
Customer journey : rarejob ( online education )
9https://japan.cnet.com/article/35116616/
Copyright © NTT Communications Corporation. All rights reserved.
Use cases
10
• Online Education
• Online healthcare
• Field engineer support
• …
Copyright © NTT Communications Corporation. All rights reserved.
Wish from our customer
11
• Recording
• Voice recognition, translation
• Video detection, recognition
• Emotion detection
• Low latency live streaming
• VR / AR / Avatar
• …
Copyright © NTT Communications Corporation. All rights reserved.
• Recording
• Voice recognition, translation
• Video detection, recognition
• Emotion detection
• Avatar
• …
Question
12
How do we support these needs
from our customer?
Copyright © NTT Communications Corporation. All rights reserved.
Agenda of the talk
13
• Current business in WebRTC
• WebRTC GW – enabler for AI/IoT
• Media processing with Serverless architecture
Copyright © NTT Communications Corporation. All rights reserved.
Our answer
14
Use WebRTC GW
for server side media processing
Copyright © NTT Communications Corporation. All rights reserved.
What’s SkyWay WebRTC GW
15
• Protocol gateway of WebRTC
• Enabler for server side media processing
• Can get RTP media stream from client
• Controllable with REST API
• Easy to connect from skyway client
• Supported platform : Linux and Windows
WebRTC
GW
Processing
engineRTP
Copyright © NTT Communications Corporation. All rights reserved. 16
https://github.com/skyway/skyway-webrtc-gateway
Copyright © NTT Communications Corporation. All rights reserved.
Use case 1 : server side recording
17
• WebRTC GW … stream out media data as RTP
streaming
• Bind decoder / encoder when needed
• POST media data to cloud storage or else
WebRTC
GW
Decoder
/ EncoderRTP
Storage
POST
Copyright © NTT Communications Corporation. All rights reserved.
Use case 2 : voice recognition
18
• WebRTC GW … stream out media data as RTP
streaming
• Bind decoder to get raw PCM data stream
• POST voice data to Voice recognition PaaS
• POST recognition result to cloud database.
WebRTC
GW
Decoder
RTP
DB
POST
Voice
recognition
Copyright © NTT Communications Corporation. All rights reserved.
• WebRTC GW … stream out media data as RTP
streaming
• Bind decoder to get raw PCM data stream
• POST voice data to Voice recognition PaaS
• POST recognition result to cloud database.
Question
19
How do we manage these service
for each scenario?
Copyright © NTT Communications Corporation. All rights reserved.
Agenda of the talk
20
• Current business in WebRTC
• WebRTC GW – enabler for AI/IoT
• Media processing with Serverless architecture
Copyright © NTT Communications Corporation. All rights reserved.
Base idea to manage server side processing
21
• Apply micro-service model for each media
processing scenario.
• Agility, Flexibility and scalability
21
WebRTC
GW
Micro
Service
#1
RTP
Micro
Service #2
Micro
Service #3
Copyright © NTT Communications Corporation. All rights reserved.
Issues, we faced with
22
• We found that…
• Sometime, media processing engine makes
state issue.
• Scalability issue for each components
• Especially media encoder and recognition
process requires high resource usage.
• Have to allocate much resources for above
micro servers.
Copyright © NTT Communications Corporation. All rights reserved.
Serverless architecture
23
• AKA ”Function as a service”
• Event base execution model
• Each function will be executed and killed in
each session cycle
• Easy to get scalability
• No-need to care about long-term state issue
23
spawn
Copyright © NTT Communications Corporation. All rights reserved.
Our challenge
24
• Apply serverless architecture into server side
media processing scenario.
• Build serverless system from scratch on top of
docker container
• Current FaaS is focused to only RPC
GW Decoder recognition
GW Decoder recognition
API GW orchestrator
spawn
Copyright © NTT Communications Corporation. All rights reserved.
Demo
25
Copyright © NTT Communications Corporation. All rights reserved.
Pros and Cons
26
• Pros
• Flexibility, Scalability and Agility
• Do not need to care about execution time
than short lived functions
• Easy to re-use each components
• Each scenario is well isolated, e.g. security
perspective
• Cons
• Need to have consolidate monitoring
• Controlling each components while set
upping orchestration is difficult
• Several timing issue will happen, especially
video streaming.
Copyright © NTT Communications Corporation. All rights reserved.
Summary
27
• Current business in WebRTC
• It is used for bunch of use cases
• Media processing is needed
• WebRTC GW – enabler for AI/IoT
• Protocol GW for WebRTC
• Can be orchestrated with media processing
engines
• Media processing with Serverless architecture
• Flexibility, scalability and agility
• Well isolated and security
• Need to have more practice and
management system.
Copyright © NTT Communications Corporation. All rights reserved.
Thanks!!
@komasshu
kensakukomatsu

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

WebRTC standards update (April 2015)
WebRTC standards update (April 2015)WebRTC standards update (April 2015)
WebRTC standards update (April 2015)
 
WebRTC Live Q&A Session #4 - WebRTC in WebKit and the story around Apple and ...
WebRTC Live Q&A Session #4 - WebRTC in WebKit and the story around Apple and ...WebRTC Live Q&A Session #4 - WebRTC in WebKit and the story around Apple and ...
WebRTC Live Q&A Session #4 - WebRTC in WebKit and the story around Apple and ...
 
WebRTC
WebRTCWebRTC
WebRTC
 
The future of WebRTC - Sept 2021
The future of WebRTC - Sept 2021The future of WebRTC - Sept 2021
The future of WebRTC - Sept 2021
 
WebRTC - On Standards, Identity and Telco Strategy
WebRTC - On Standards, Identity and Telco StrategyWebRTC - On Standards, Identity and Telco Strategy
WebRTC - On Standards, Identity and Telco Strategy
 
WebRTC: A front-end perspective
WebRTC: A front-end perspectiveWebRTC: A front-end perspective
WebRTC: A front-end perspective
 
WebRTC overview
WebRTC overviewWebRTC overview
WebRTC overview
 
Getting Started with WebRTC
Getting Started with WebRTCGetting Started with WebRTC
Getting Started with WebRTC
 
Upperside Webinar - WebRTC Standards Update
Upperside Webinar - WebRTC Standards UpdateUpperside Webinar - WebRTC Standards Update
Upperside Webinar - WebRTC Standards Update
 
Is Webrtc Transforming Collaboration
Is Webrtc Transforming CollaborationIs Webrtc Transforming Collaboration
Is Webrtc Transforming Collaboration
 
WebRTC Webinar & Q&A - W3C WebRTC JS API Test Platform & Updates from W3C Lis...
WebRTC Webinar & Q&A - W3C WebRTC JS API Test Platform & Updates from W3C Lis...WebRTC Webinar & Q&A - W3C WebRTC JS API Test Platform & Updates from W3C Lis...
WebRTC Webinar & Q&A - W3C WebRTC JS API Test Platform & Updates from W3C Lis...
 
The WebRTC Ecosystem
The WebRTC EcosystemThe WebRTC Ecosystem
The WebRTC Ecosystem
 
WebRTC DataChannels demystified
WebRTC DataChannels demystifiedWebRTC DataChannels demystified
WebRTC DataChannels demystified
 
WebRTC business models beyond calls
WebRTC business models beyond callsWebRTC business models beyond calls
WebRTC business models beyond calls
 
How WebRTC ushers the next wave of e-Learning innovation
How WebRTC ushers the next wave of e-Learning innovationHow WebRTC ushers the next wave of e-Learning innovation
How WebRTC ushers the next wave of e-Learning innovation
 
Introduction to WebRTC
Introduction to WebRTCIntroduction to WebRTC
Introduction to WebRTC
 
The State of WebRTC
The State of WebRTCThe State of WebRTC
The State of WebRTC
 
WebRTC 101
WebRTC 101WebRTC 101
WebRTC 101
 
WebRTC Webinar & Q&A - All About Microsoft & WebRTC Hosting Guest Speaker Ja...
WebRTC Webinar & Q&A -  All About Microsoft & WebRTC Hosting Guest Speaker Ja...WebRTC Webinar & Q&A -  All About Microsoft & WebRTC Hosting Guest Speaker Ja...
WebRTC Webinar & Q&A - All About Microsoft & WebRTC Hosting Guest Speaker Ja...
 
The future of multimedia communications and services: Kurento and it's role
The future of multimedia communications and services: Kurento and it's roleThe future of multimedia communications and services: Kurento and it's role
The future of multimedia communications and services: Kurento and it's role
 

Similar a Media processing with serverless architecture

NFV Infrastructure Manager with High Performance Software Switch Lagopus
NFV Infrastructure Manager with High Performance Software Switch Lagopus NFV Infrastructure Manager with High Performance Software Switch Lagopus
NFV Infrastructure Manager with High Performance Software Switch Lagopus
Hirofumi Ichihara
 
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Dominik Obermaier
 

Similar a Media processing with serverless architecture (20)

Web rtc for iot, edge computing use cases
Web rtc for iot, edge computing use casesWeb rtc for iot, edge computing use cases
Web rtc for iot, edge computing use cases
 
HiveMQ + Kafka: The ideal solution for IoT MQTT data integration
HiveMQ + Kafka: The ideal solution for IoT MQTT data integrationHiveMQ + Kafka: The ideal solution for IoT MQTT data integration
HiveMQ + Kafka: The ideal solution for IoT MQTT data integration
 
HiveMQ + Kafka - The Ideal Solution for IoT MQTT Data Integration
HiveMQ + Kafka - The Ideal Solution for IoT MQTT Data IntegrationHiveMQ + Kafka - The Ideal Solution for IoT MQTT Data Integration
HiveMQ + Kafka - The Ideal Solution for IoT MQTT Data Integration
 
FieldServer for OEM Overview
FieldServer for OEM OverviewFieldServer for OEM Overview
FieldServer for OEM Overview
 
OpenStackを利用したEnterprise Cloudを支える技術 - OpenStack最新情報セミナー 2016年5月
OpenStackを利用したEnterprise Cloudを支える技術 - OpenStack最新情報セミナー 2016年5月OpenStackを利用したEnterprise Cloudを支える技術 - OpenStack最新情報セミナー 2016年5月
OpenStackを利用したEnterprise Cloudを支える技術 - OpenStack最新情報セミナー 2016年5月
 
NFV Infrastructure Manager with High Performance Software Switch Lagopus
NFV Infrastructure Manager with High Performance Software Switch Lagopus NFV Infrastructure Manager with High Performance Software Switch Lagopus
NFV Infrastructure Manager with High Performance Software Switch Lagopus
 
HiveMQ Cloud - The Cloud Native IoT Messaging Layer
HiveMQ Cloud - The Cloud Native IoT Messaging LayerHiveMQ Cloud - The Cloud Native IoT Messaging Layer
HiveMQ Cloud - The Cloud Native IoT Messaging Layer
 
Introducing HiveMQ Cloud
Introducing HiveMQ CloudIntroducing HiveMQ Cloud
Introducing HiveMQ Cloud
 
HiveMQ Cloud Webinar
HiveMQ Cloud WebinarHiveMQ Cloud Webinar
HiveMQ Cloud Webinar
 
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
IoT Data Streaming - Why MQTT and Kafka are a match made in heaven | Dominik ...
 
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heavenKafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
Kafka Summit 2021 - Why MQTT and Kafka are a match made in heaven
 
Iot in-production
Iot in-productionIot in-production
Iot in-production
 
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
 
Effective IoT System on Openstack
Effective IoT System on OpenstackEffective IoT System on Openstack
Effective IoT System on Openstack
 
OpenStack Summit Tokyo - Know-how of Challlenging Deploy/Operation NTT DOCOMO...
OpenStack Summit Tokyo - Know-how of Challlenging Deploy/Operation NTT DOCOMO...OpenStack Summit Tokyo - Know-how of Challlenging Deploy/Operation NTT DOCOMO...
OpenStack Summit Tokyo - Know-how of Challlenging Deploy/Operation NTT DOCOMO...
 
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
Software-Infrastrukturen modernisieren in der Produktion - Digitale Transform...
 
Bridging_WebRTC_with_SIP_Alberto_WebRTCventures_Cluecon2023_NoVideo.pptx
Bridging_WebRTC_with_SIP_Alberto_WebRTCventures_Cluecon2023_NoVideo.pptxBridging_WebRTC_with_SIP_Alberto_WebRTCventures_Cluecon2023_NoVideo.pptx
Bridging_WebRTC_with_SIP_Alberto_WebRTCventures_Cluecon2023_NoVideo.pptx
 
WebRTC Seminar Report
WebRTC  Seminar ReportWebRTC  Seminar Report
WebRTC Seminar Report
 
Upperside Webinar- WebRTC from the service provider prism-final
Upperside Webinar- WebRTC from the service provider prism-finalUpperside Webinar- WebRTC from the service provider prism-final
Upperside Webinar- WebRTC from the service provider prism-final
 
Back to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTTBack to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTT
 

Más de Kensaku Komatsu

Más de Kensaku Komatsu (20)

Boxdev lt-09082016
Boxdev lt-09082016Boxdev lt-09082016
Boxdev lt-09082016
 
a pattern for PWA, PRPL
a pattern for PWA, PRPLa pattern for PWA, PRPL
a pattern for PWA, PRPL
 
Full Matrix Auto Test Framework for WebRTC
Full Matrix Auto Test Framework for WebRTCFull Matrix Auto Test Framework for WebRTC
Full Matrix Auto Test Framework for WebRTC
 
04122016 web rtc_globalsummit
04122016 web rtc_globalsummit04122016 web rtc_globalsummit
04122016 web rtc_globalsummit
 
02172016 web rtc_conf_komasshu
02172016 web rtc_conf_komasshu02172016 web rtc_conf_komasshu
02172016 web rtc_conf_komasshu
 
SkyWay国内唯一のCPaaS
SkyWay国内唯一のCPaaSSkyWay国内唯一のCPaaS
SkyWay国内唯一のCPaaS
 
ラズパイでWebRTC ヾ(*´∀`*)ノキャッキャ uv4l-webrtc 軽くハックしてみたよ!
ラズパイでWebRTC ヾ(*´∀`*)ノキャッキャ    uv4l-webrtc 軽くハックしてみたよ!ラズパイでWebRTC ヾ(*´∀`*)ノキャッキャ    uv4l-webrtc 軽くハックしてみたよ!
ラズパイでWebRTC ヾ(*´∀`*)ノキャッキャ uv4l-webrtc 軽くハックしてみたよ!
 
ビデオ通話・P2Pがコモディティ化する世界 WebRTCによるこれからを探る
ビデオ通話・P2Pがコモディティ化する世界 WebRTCによるこれからを探るビデオ通話・P2Pがコモディティ化する世界 WebRTCによるこれからを探る
ビデオ通話・P2Pがコモディティ化する世界 WebRTCによるこれからを探る
 
最新Web 通信系API総まくり!WebRTC, Streams, Push api etc.
最新Web 通信系API総まくり!WebRTC, Streams, Push api etc.最新Web 通信系API総まくり!WebRTC, Streams, Push api etc.
最新Web 通信系API総まくり!WebRTC, Streams, Push api etc.
 
FirefoxでgetStats()
FirefoxでgetStats()FirefoxでgetStats()
FirefoxでgetStats()
 
14th apr2015 リックテレコ勉強会
14th apr2015 リックテレコ勉強会14th apr2015 リックテレコ勉強会
14th apr2015 リックテレコ勉強会
 
WebRTCが拓く 新たなWebビジネスの世界
WebRTCが拓く新たなWebビジネスの世界WebRTCが拓く新たなWebビジネスの世界
WebRTCが拓く 新たなWebビジネスの世界
 
Web of Thingsの現状とWebRTC活用の可能性
Web of Thingsの現状とWebRTC活用の可能性Web of Thingsの現状とWebRTC活用の可能性
Web of Thingsの現状とWebRTC活用の可能性
 
25th nov2014 52thhtml5j
25th nov2014 52thhtml5j25th nov2014 52thhtml5j
25th nov2014 52thhtml5j
 
知ってると得するかもしれないConstraintsたち
知ってると得するかもしれないConstraintsたち知ってると得するかもしれないConstraintsたち
知ってると得するかもしれないConstraintsたち
 
WebRTCにより可視化されるリアルタイムクラウド。求められるAPI
WebRTCにより可視化されるリアルタイムクラウド。求められるAPI WebRTCにより可視化されるリアルタイムクラウド。求められるAPI
WebRTCにより可視化されるリアルタイムクラウド。求められるAPI
 
エフサミ2014 web rtcの傾向と対策
エフサミ2014 web rtcの傾向と対策エフサミ2014 web rtcの傾向と対策
エフサミ2014 web rtcの傾向と対策
 
HTML5 Night 2014 Web x Network Technology ( WebRTC )
HTML5 Night 2014 Web x Network Technology ( WebRTC )HTML5 Night 2014 Web x Network Technology ( WebRTC )
HTML5 Night 2014 Web x Network Technology ( WebRTC )
 
Web rtcの使い方
Web rtcの使い方Web rtcの使い方
Web rtcの使い方
 
iPhoneでなんちゃってWebRTC
iPhoneでなんちゃってWebRTCiPhoneでなんちゃってWebRTC
iPhoneでなんちゃってWebRTC
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

Media processing with serverless architecture

  • 1. Copyright © NTT Communications Corporation. All rights reserved. RTC Conference Korea 2018 on November 1st, 2018 Kensaku Komatsu NTT Communications Media Processing with Serverless Architecture
  • 2. Copyright © NTT Communications Corporation. All rights reserved. Kensaku Komatsu Technical manager of ECL SkyWay Web application evangelist at NTT Communications in Silicon valley office @komasshu kensakukomatsu
  • 3. Copyright © NTT Communications Corporation. All rights reserved. Main Idea of the tech talk today 3 A practice of Serverless Architecture for Media Processing using WebRTC.
  • 4. Copyright © NTT Communications Corporation. All rights reserved. AI / IoT
  • 5. Copyright © NTT Communications Corporation. All rights reserved. Agenda of the talk 5 • Current business in WebRTC • WebRTC GW – enabler for AI/IoT • Media processing with Serverless architecture
  • 6. Copyright © NTT Communications Corporation. All rights reserved. Agenda of the talk 6 • Current business in WebRTC • WebRTC GW – enabler for AI/IoT • Media processing with Serverless architecture
  • 7. Copyright © NTT Communications Corporation. All rights reserved. ECL SkyWay in nutshell 7 https://webrtc.ecl.ntt.com/en/
  • 8. Copyright © NTT Communications Corporation. All rights reserved. Service model 8 P2P / SFU connectivity Client SDK
  • 9. Copyright © NTT Communications Corporation. All rights reserved. Customer journey : rarejob ( online education ) 9https://japan.cnet.com/article/35116616/
  • 10. Copyright © NTT Communications Corporation. All rights reserved. Use cases 10 • Online Education • Online healthcare • Field engineer support • …
  • 11. Copyright © NTT Communications Corporation. All rights reserved. Wish from our customer 11 • Recording • Voice recognition, translation • Video detection, recognition • Emotion detection • Low latency live streaming • VR / AR / Avatar • …
  • 12. Copyright © NTT Communications Corporation. All rights reserved. • Recording • Voice recognition, translation • Video detection, recognition • Emotion detection • Avatar • … Question 12 How do we support these needs from our customer?
  • 13. Copyright © NTT Communications Corporation. All rights reserved. Agenda of the talk 13 • Current business in WebRTC • WebRTC GW – enabler for AI/IoT • Media processing with Serverless architecture
  • 14. Copyright © NTT Communications Corporation. All rights reserved. Our answer 14 Use WebRTC GW for server side media processing
  • 15. Copyright © NTT Communications Corporation. All rights reserved. What’s SkyWay WebRTC GW 15 • Protocol gateway of WebRTC • Enabler for server side media processing • Can get RTP media stream from client • Controllable with REST API • Easy to connect from skyway client • Supported platform : Linux and Windows WebRTC GW Processing engineRTP
  • 16. Copyright © NTT Communications Corporation. All rights reserved. 16 https://github.com/skyway/skyway-webrtc-gateway
  • 17. Copyright © NTT Communications Corporation. All rights reserved. Use case 1 : server side recording 17 • WebRTC GW … stream out media data as RTP streaming • Bind decoder / encoder when needed • POST media data to cloud storage or else WebRTC GW Decoder / EncoderRTP Storage POST
  • 18. Copyright © NTT Communications Corporation. All rights reserved. Use case 2 : voice recognition 18 • WebRTC GW … stream out media data as RTP streaming • Bind decoder to get raw PCM data stream • POST voice data to Voice recognition PaaS • POST recognition result to cloud database. WebRTC GW Decoder RTP DB POST Voice recognition
  • 19. Copyright © NTT Communications Corporation. All rights reserved. • WebRTC GW … stream out media data as RTP streaming • Bind decoder to get raw PCM data stream • POST voice data to Voice recognition PaaS • POST recognition result to cloud database. Question 19 How do we manage these service for each scenario?
  • 20. Copyright © NTT Communications Corporation. All rights reserved. Agenda of the talk 20 • Current business in WebRTC • WebRTC GW – enabler for AI/IoT • Media processing with Serverless architecture
  • 21. Copyright © NTT Communications Corporation. All rights reserved. Base idea to manage server side processing 21 • Apply micro-service model for each media processing scenario. • Agility, Flexibility and scalability 21 WebRTC GW Micro Service #1 RTP Micro Service #2 Micro Service #3
  • 22. Copyright © NTT Communications Corporation. All rights reserved. Issues, we faced with 22 • We found that… • Sometime, media processing engine makes state issue. • Scalability issue for each components • Especially media encoder and recognition process requires high resource usage. • Have to allocate much resources for above micro servers.
  • 23. Copyright © NTT Communications Corporation. All rights reserved. Serverless architecture 23 • AKA ”Function as a service” • Event base execution model • Each function will be executed and killed in each session cycle • Easy to get scalability • No-need to care about long-term state issue 23 spawn
  • 24. Copyright © NTT Communications Corporation. All rights reserved. Our challenge 24 • Apply serverless architecture into server side media processing scenario. • Build serverless system from scratch on top of docker container • Current FaaS is focused to only RPC GW Decoder recognition GW Decoder recognition API GW orchestrator spawn
  • 25. Copyright © NTT Communications Corporation. All rights reserved. Demo 25
  • 26. Copyright © NTT Communications Corporation. All rights reserved. Pros and Cons 26 • Pros • Flexibility, Scalability and Agility • Do not need to care about execution time than short lived functions • Easy to re-use each components • Each scenario is well isolated, e.g. security perspective • Cons • Need to have consolidate monitoring • Controlling each components while set upping orchestration is difficult • Several timing issue will happen, especially video streaming.
  • 27. Copyright © NTT Communications Corporation. All rights reserved. Summary 27 • Current business in WebRTC • It is used for bunch of use cases • Media processing is needed • WebRTC GW – enabler for AI/IoT • Protocol GW for WebRTC • Can be orchestrated with media processing engines • Media processing with Serverless architecture • Flexibility, scalability and agility • Well isolated and security • Need to have more practice and management system.
  • 28. Copyright © NTT Communications Corporation. All rights reserved. Thanks!! @komasshu kensakukomatsu