Presented at Twilio's 2016 Signal Conference: Developers of all varieties are building awesome apps leveraging WebRTC, but it doesn't always start that way. This session will highlight some of the more interesting hacks and use cases using WebRTC from the blog and real commercial deployments. Hear trends among WebRTC developers that are just starting to mature deployments with hundreds of millions of monthly minutes. This session will review other's mistakes and successes with practical guidelines to help you add and grow WebRTC in your app.
9. 9May 26, 2016
Lessons Learned
• SDKs & cloud services make WebRTC super simple
• Use HTML5 Canvas on your media stream
• You don’t need to know what you’re doing
9
10. 10May 26, 2016
Hack #2: Build your own phone company with
WebRTC and a weekend
https://webrtchacks.com/own-phoneco-with-webrtc/
12. 12May 26, 2016
Lessons Learned:
Building out a Back-end
• Signaling: easier than expected
• Cloud setup wasn’t so bad
• Don’t skip SSL for HTTPS
• Don’t skip TURN server
• Don’t get detached from UX
12
13. 13May 26, 2016
Hack #3: How to train a dog with JavaScript
https://webrtchacks.com/javascript-dog-trainer/
20. 20May 26, 2016
Not fun:
getting organized
• Signaling Server
• Web server
• IoT device
• Browser-based monitor app
• Browser-based viewing app
• MMS API
21. 21May 26, 2016
Fun: seeing it work
https://webrtchacks.com/javascript-dog-trainer/
MMS Alert
22. 22May 26, 2016
Fun: seeing it work
https://webrtchacks.com/javascript-dog-trainer/
23. 23May 26, 2016
Lessons Learned
• New features for free: recording
• MMS is easier than writing an app to get mobile notifications
• Apple makes things difficult
• More “things” means more opportunities for short RTC sessions
24. 24May 26, 2016
Hack 4: ThirdEye: WebRTC + Computer vision
eyes when & where you need them
ThirdEye
30. 30May 26, 2016
Other lessons learned
• Gathering context from real time streams isn’t so hard
• Don’t make the signaling harder than it needs to be
• Someone really needs to make a wifi WebRTC camera
31. 31May 26, 2016
Thinking about machines & RTC
P2P M2P
P2M M2M
Person to person calling
because of machines
Machine makes a call
when something happens
Send machine real time
audio/video for processing
Machines send other
machines audio/video for
real time processing
Whole new categories of interactions that will drive RTC growth
35. 35May 26, 2016
The browser as a real time media processor
Canvas Web Audio
http://www.html5rocks.com/en/tutorials/webaudio/games/http://diveinto.html5doctor.com/canvas.html
36. 36May 26, 2016
Hacks that are new:
make your own conferencing server
https://webrtchacks.com/web-audio-conference/
I am an independent analyst, product management & marketing consultant, and advisor focusing on RTC, especially WebRTC.
Personally, I care a lot about where technology and products are headed. I focus at lot on trying to understand the future and luckily I was able to do this often career wise as an industry analyst, doing business intelligence, and strategic product planning.
I also run a blog for webrtc developers – webrtcHacks. It was great to see so many WebRTC hacks during the hackathon.
It is amazing to see how far WebRTC has come, even on my own blog.
webrtcHacks is pretty specific about being for developers – our content is generally pretty technical and not something you would care about unless you are at least involved in WebRTC development. We have grown from a few thousand pageviews a month in 2013 to 30 to 40,000 now.
Lots of definitions of Hack
This is probably my favorite. Quick or inelegant solution
September 2013
My first hack
Using the HTML5 Canvas to detect motion
September 2013
My first hack
September 2013
January 7, 2014
What would it take to make my own personal VoIP service
EasyRTC for WebRTC signaling
Express & Node
AWS – Ubuntu image from Bitnami
November 2014
I had a bull dog
He liked to sleep on the couch
But them we bought a new couch
Sleeping on the couch was a no-no
Tessel.io
Elenco Snap Circuits rover
Lots of nodes
Signaling server from OSS – Simple WebRTC
Node for my web server
tessel-based rover also running now
Light weight monitor app that does motion detection
Browser app that does recording
Twilio for MMS
June 2015
P2P: something happens – get someone on the phone to talk about it
M2P: dog trainer example where you get called
P2M: computer vision example where you just want to process the stream
Looking forward to the day when AI bots talk to other AI bots using real time voice & video
Media stream = canvas.captureStream(framerate)
https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/webrtc-integration.html
http://randomwalker.info/publications/OpenWPM_1_million_site_tracking_measurement.pdf
This is a real problem with more than 700 of the top 1M sites using WebRTC tracking
Still small vs. other forms