Could IoT be WebRTC's greatest source of innovation? Brian Pulito IBM WebSphere Architect email: brian_pulito@us.ibm.com twitter: @brianpulito linkedin: brianpulito 2015 IBM Corporation
Internet Of Things Forecast 2020 View 212 billion installed things 30 billion autonomously connected things Public Sector, Distribution & Services, Manufacturing & Resources, and Consumers lead segment growth rates Approximately 3 million petabytes of embedded systems data (excludes streaming, surveillance-type data $8.9 trillion of business value 1
GSMA Connected Life forecast $4.5T in 2020 Top Ten in 2020: 1. Connected Car $600 billion 2. Clinical Remote Monitoring $350 billion 3. Assisted Living $270 billion 4. Home and Building Security $250 billion 5. Pay-As-You-Drive Car Insurance $245 billion 6. New Business Models for Car Usage $225 billion 7. Smart Meters $105 billion 8. Traffic Management $100 billion 9. Electric Vehicle Charging $75 billion 10. Building Automation $40 billion The Internet of [Things] could raise the level of U.S. gross domestic product by 2%-5% by 2025. This gain if realized, would boost the annual U.S. GDP growth rate by 0.2%-0.4% points over this period, bringing growth closer to 3% per year. US Progressive Policy Institute Source:http://www.globaltelecomsbusiness.com/article/2985699/Connected-devices-will-be-worth-45t.html 2
Benefits of real-time data from Internet of Things Monetize Optimize Extend Charge for usage that is tracked by things Enable pay-per-use models of things Improve efficiency of activities with data from things Anticipate & predict optimal actions and responses Provide more value through connected things Deliver data, content, services through things Control Remotely affect behavior by controlling things Make remote adjustments to optimize things 3
Value is not just sheer numbers of connected devices The real opportunity is improved business value new revenue models, lower costs, improved client experiences, better insight to improve outcomes 4 Source: IDC, Worldwide Internet of Things (IoT) 2013 2020 Forecast: Billions of Things, Trillions of Dollars, October 2013 4
Is there value in combining WebRTC with IoT?? IoT 5
Why is WebRTC so disruptive? x Eliminates complexity of delivering codecs and streaming protocols x Closely aligned with HTML 5, programmed via JavaScript x Support for mobile platforms and web browsers x Enables real-time data communications in addition to voice and video x Strong industry support It contextualizes communications! 6 6
Why is IoT do disruptive? IoT is the integration point for everything, both physical and digital IoT and a rich source of programmatically consumable context! 7
What is context relative to WebRTC? A. Data derived from interactions with a web site? B. Transactional data stored in a business system? C. Information derived from streaming analytics? D. Sensor data from an IoT device? E. All of the above? Context is being combined with WebRTC to: Provide whitelist for who should be communicating Provide triggers to initiate real-time interactions Provide subject matter for real-time interactions Provide real-time feedback on what is being communicated 8
What is context relative to IoT? see hear touch taste smell?? 9
How do you derive business value from IoT context? 10
Connect Things with Services to create value Messages IoT Network Messages Analytics Services Streamed Media IoT Message Broker (MQTT, CoAP, etc.) HTTP/REST WebRTC Endpoints Systems of Enagement Streamed Data WebRTC Middleware Streamed Media Enterprise IMS Core Microservices Streamed Data Node-RED 11
IoT Middleware Reference Example Things IoT Messages IoT Message Broker (MQTT, CoAP, etc.) WebRTC Middleware Analytics Services Signaling Signaling Proxy (MQTT, SIP, etc.) Signaling HTTP/REST Sig WebSphere Gateway, App Liberty Server. Message Broker (Rtcomm Gateway, JSR 289 SIP Servlets) (SIP Servlets ) JSR 309 WebRTC Endpoints Systems of Record Media Relay Enterprise IMS Core Media + ICE Coturn STUN/TURN Open Source STUN/TURN Server Server Media + ICE Dialogic XMS Media Media Server Processing (Transcoding, Multiway, Server Record/Playback) Microservices Node-RED 12
Use Case 1: WebRTC Video Surveillance with analytics Real-time A/V Signaling APIs Mobile Notifications Analytics Use analytics to provide context: Customer insights Sentiment analysis Video analysis Text-to-speech Push A/V Analysis WebRTC Middleware Enterprise Contact Center MRF as a service JSR for transcoding, 309 mixing, recording. SBC/SIP Gateway Surveillance Network WebRTC Media = Big Data Carrier Network IMS 13
Use Case 2: WebRTC triggered by IoT IoT embedded sensor triggers a 3 rd party video connection between a camera and a supervisor. 2 3 1 3PCC service WebRTC Middleware 14
WebRTC signaling and IoT networking To support WebRTC enabled things you need IoT signaling Requires pub/sub model IoT Protocol Options MQ Telemetry Transport (MQTT) Constrained Application Protocol (CoAP) Data Distribution Service (DDS) 15
MQTT for massively scalable signaling Why MQTT for WebRTC Signaling? Open, lightweight, secure and massively scalable Simple authorization through MQTT topic ACLs Clients available on mobile platforms and JavaScript Simple IoT integration Extensible through JMS MQTT vs. HTTP/REST 93x higher throughput 1/10 th battery 1/8 th bandwidth Visit http://mqtt.org/ for more info. Stack size comparison SipML5: ~5 MB vs. MQTT Paho + Rtcomm: ~ 250K 16
Rtcomm: Open WebRTC signaling protocol for IoT JSON based and designed for MQTT The protocol is defined here: http://bit.ly/1giodax Publish To: /<iottopicpath>/deviceid Subscribed On /< iottopicpath >/# Subscribed On /<rtcommtopicpath>/# Middleware Services IMS or OTT Media Resource 3PCC MQTT Message Broker WebRTC EndpointA Subscribed On /EndpointA/# WebRTC EndpointA Subscribed On /EndpointB/# 17
Rtcomm, Node.js and Node-RED Node.js Module for Rtcomm Support 3PCC and Monitoring Node-RED: A visual tool for wiring the Internet of Things like: MQTT enabled devices, MongoDB, Twitter, and much more! Rtcomm Node-RED Nodes Third-Party Call Control Session monitoring Presence monitoring npm install node-red-contrib-rtcomm npm install rtcomm https://github.com/wasdev/lib.rtcomm.node https://github.com/wasdev/lib.rtcomm.node-red 18
WebRTC and IoT Open Source Node-RED http://nodered.org/ Rtcomm (web and mobile SDKs built on MQTT): www.wasdev.net/webrtc Mosquitto (MQTT Broker): http://mosquitto.org/ Paho MQTT client http://www.eclipse.org/paho/ 19
Conclusion: IoT Context for WebRTC Is WebRTC and IoT a good match? Yes! Where s the value? WebRTC enabled things WebRTC media sessions triggered by IoT events WebRTC media streaming from things = Big Data Combining IoT context with WebRTC Backend services To support WebRTC enabled things you need: IoT signaling Embedded WebRTC Network that can support media To learn more visit: www.wasdev.net/webrtc 20
21 21