Building WebRTC based interesting features and services . WebRTC to stream from remote machine in IOT.
Details of Ramudroid a bot meant for cleaning outdoors uses webrtc stream for remote navigation .
2. “ WebRTC is a new front in the long war for an open and
unencumbered web.
— Brendan Eich, inventor of JavaScript
3. Hi ! I am Altanai
I have worked on telecom core , VOIP , Media Processing .
Author of WebRTC Integrator’s Guide .
Team
I am Deepak
Embedded developer
8. getUserMedia
get audio & video from
browser on secure origins (
https )
RTCPeerConnection
exchange SDP in offer
answer with peer to establish
a session
RTCDataChannel
file sharing , chat etc
WebRTC APIs
getStats
realtime monitoring
desktopCapture
screen sharing through a
extension
9. Other Audio and video APIs and features
Get User Media
● Media Stream
● media onto a Canvas
● Select input and output
media source
Video
● filters
● Resolution
● Caption ,subtitles
● Video controls
Audio
● Web Audio
● Web Speech
● Volume detection
● music visualizer
10. Communication & Collaboration for
Developers
DataChannel API
Send text to peer
Text to speech
conversion
GetUserMedia -
Audio
Speech to text
conversion on
language 1
Text
translation to
language 2
12. Playboard
DataChannel API,
Sync array of
coordinates and
color with peer
Draw the array
values on canvas
GetUserMedia -
Video
Html5 Canvas,
Draw board,
Map drew
coordinates
in 2D array
with color val
14. Real Time Language Translation
DataChannel API
Send text to peer
Text to speech
conversion
GetUserMedia -
Audio
Speech to text
conversion on
language 1
Text
translation to
language 2
17. Other interesting features ….
Augmented
Reality
Canvas Overlays
Detect Motion
WebGL and three.
js
Object Detection
headtracker
Tracker.js
SimpleCV
Recording and
transcoding
Webm record
Mp4 parser
18. Augmented Reality + Gaming + WebRTC
DataChannel API
Send info to peer
getUSerMEdia -
video
HTML5 Canvas,
Chess board
and buttons
Object tracking on
hand movement
Move button
on chessboard
on peer1
Move button on
chessboard for
peer2
19.
20. application of
webRTC
Media Streaming &
WebRTC
back office
communications
(CRM, ERP, SCM,
FFM)
customer
care centre
HR &
recruitme
nt
Enterprise
Communicati
on &
Collaboration
Distance
Learning
Learn a
new
Language
23. application of
webRTC in IOT
Media Streaming &
WebRTC
Surveillance
and Security
Asset
Manageme
nt
Machine to
Machine
communication
through MEdia
Streaming
data handling
in IOT
Robotics &
remote
navigation
Wearables
Smart
Cities
Power Grid
MAnageme
nt
connected
Vehicle
24. Interacting with Remote Machines
Signalling REST
Media WebRTC
GPIO control Wiring Pi
Communication Wifi
25. 25
Demo video : https://www.youtube.com/watch?
v=jrFpzN1jCR8&feature=youtu.be
Altanai Bisht ( http://altanaitelecom.wordpress.com )
Web page for control Electronic devices Hub and Electronic devices
27. Pros and cons of different Media Capture Libraries
Motion -mjpeg
Adv:
● Easy to install and run
● Inbuilt monitoring
Disadv:
● Delay in stream capture
● Frame reload visible
Ffmpeg
Adv:
● Flexibility to change
parameters
Disadv:
● Many dependencies
● Heavier to install
and make on Rpi
h/w
Uv4l - WebRTC
Adv:
● Fast , no delay
● open codec - vp8
Disadv:
● P2p only
● Limited codec support
● Requires https to
capture from browser
28. Why is WebRTC suited for IOT ?
No plugins
No installations of flash or
any other 3rd party plugins
Royalty free
codec
VP8 , VP9 , OPUS
MIT , GPL
Rapid Support
Community support and
adoption by major browsers,
native SDKs
Javascript
Support for js is the key to
making it easily adoptable
by developers
Integrate with any signalling
method
● SIP
● XMPP
● Socketio
● websocket
29. Modes Of Communication
GSM / 3G
Range unlimited
Wifi
Range 100 m
Bluetooth Low
Energy
Range 30 m
Ethernet LAN
Wired connection
35. Working
Stages of garbage collection
1. Litter comes between rotating
brushes
2. Litter is picked by brushes and
pushed upwards
3. Brushes push it towards the
tray
36.
37. BLE control [Demo]
( Bluetooth Low Energy )
App used : Bluefruit LE connect v1.2.0