Could Iot be WebRTC's greatest source of innovation? (The IIT RTC Conference session - 2015)

Preview:

Citation preview

© 2015 IBM Corporation

Could IoT be WebRTC's greatest source of innovation?

Brian Pulito IBM WebSphere Architectemail: brian_pulito@us.ibm.comtwitter: @brianpulitolinkedin: brianpulito

Internet Of Things Forecast2020 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

2

3Source:http://www.globaltelecomsbusiness.com/article/2985699/Connected-devices-will-be-worth-45t.html

Top Ten in 2020:

1. Connected Car $600 billion

2. Clinical Remote Monitoring $350 billion3. Assisted Living

$270 billion4. Home and Building Security $250 billion5. Pay-As-You-Drive Car Insurance $245 billion6. New Business Models for Car Usage $225 billion7. Smart Meters $105

billion8. Traffic Management $100

billion9. Electric Vehicle Charging $75

billion10. 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

GSMA “Connected Life” forecast $4.5T in 2020

4

Benefits of real-time data from Internet of Things

Monetize • Charge for usage that is tracked by things• Enable pay-per-use models of things

Optimize• Improve efficiency of activities with data from

things• Anticipate & predict optimal actions and

responses

Extend • 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

5

The real opportunity is improved business value – new revenue models, lower costs, improved client experiences, better insight to improve outcomes

Source: IDC, “Worldwide Internet of Things (IoT) 2013–2020 Forecast: Billions of Things, Trillions of Dollars”, October 2013

5

Value is not just sheer numbers of connected devices

6

IoT

?

Is there value in combining WebRTC with IoT?

7

Why is WebRTC so disruptive?

x Eliminates complexity of delivering codecs and streaming protocolsx Closely aligned with HTML 5, programmed via JavaScriptx Support for mobile platforms and web browsersx Enables real-time data communications in addition to voice and videox Strong industry support

7

It contextualizes communications!

8

IoT is the integration point for everything,

IoT

…and a rich source of programmatically consumable context!

both physical and digital…

Why is IoT so disruptive?

9

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

10

What is context relative to IoT?

see hear touch taste smell

? ?

11

How do you derive business value from IoT context?

Connect Things with Services to create value

12

WebRTC Middleware

IoT Message Broker

(MQTT, CoAP, etc.)

Messages

Streamed Media

Streamed Data

WebRTC Endpoints

AnalyticsServices

Systems of Enagement

Enterprise IMS Core

Microservices

Node-RED

Messages

HTTP/REST

Streamed Media

Streamed Data

IoT Network

13

IoT Middleware Reference Example

CoturnOpen Source

STUN/TURN Server

Dialogic XMS Media Server

(Transcoding, Multiway, Record/Playback)

WebSphere Liberty

(Rtcomm Gateway, JSR 289 SIP Servlets)

Signaling Proxy(MQTT, SIP, etc.)

STUN/TURN Server

Sig Gateway, App Server.

Message Broker(SIP Servlets )

Media Processing Server

Media + ICE

JSR 309

Things

Media + ICE

Media Relay

Signaling

HTTP/REST

WebRTC Middleware

Signaling

AnalyticsServices

Systems of Record

Enterprise IMS Core

Microservices

IoT Message Broker(MQTT, CoAP, etc.)IoT Messages

Node-RED

WebRTC Endpoints

14

A/VAnalysis

AnalyticsMobile Notifications

Push

Enterprise Contact Center

Surveillance Network

SBC/SIPGateway

Carrier Network

IMS

Use analytics to provide context:• Customer insights• Sentiment analysis• Video analysis• Text-to-speech

Real-time A/V

SignalingAPIs

WebRTC Signaling

SIP

SIP

JSR 309

WebRTC Media = Big Data

WebRTC Middleware

MRF as a service for transcoding, mixing, recording….

Use Case 1: WebRTC Video Surveillance with analytics

15

Use Case 2: WebRTC triggered by IoT

IoT embedded sensor triggers a 3rd party video connection between a camera and a supervisor.

WebRTC Middleware

3PCCservice

1

2

3

16

WebRTC signaling and IoT networking

• To support WebRTC enabled “things”, IoT enabled signaling helps• IoT Protocol Options

• MQ Telemetry Transport (MQTT)• Constrained Application Protocol (CoAP)• Data Distribution Service (DDS)• Matrix

17

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 for massively scalable signaling

MQTT vs. HTTP/REST • 93x higher

throughput• 1/10th battery• 1/8th bandwidth

Stack size comparisonSipML5: ~5 MB vs. MQTT Paho + Rtcomm: ~ 250K

Visit http://mqtt.org/ for more info.

Rtcomm: Open WebRTC signaling protocol for IoT

18

• JSON based and designed for MQTT• The protocol is defined here:

• https://github.com/WASdev/lib.rtcomm.clientjs

WebRTC EndpointA

Subscribed On/EndpointB/#Subscribed On

/EndpointA/#

WebRTC EndpointA

Middleware Services

Subscribed On/<rtcommTopicPath>/#

MQTT Message Broker

Subscribed On:/<iotTopicPath>/deviceID

Subscribed On/< iotTopicPath >/#

3PCC

Media Resource

IMS or OTT

19

Rtcomm, Node.js and Node-RED

Node.js Module for Rtcomm• Support 3PCC and MonitoringNode-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

https://github.com/WASdev/lib.rtcomm.nodehttps://github.com/WASdev/lib.rtcomm.node-red

npm install node-red-contrib-rtcomm

npm install rtcomm

20

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/

21

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

2222

Recommended