Date post: | 08-May-2015 |
Category: |
Technology |
Upload: | arnaud-budkiewicz |
View: | 1,005 times |
Download: | 1 times |
04/11/2023
1
04/11/2023
2
Delivering Large Scale WebRTC
Richard TworekPrincipalWebRTC Strategies STRATEGIES
WebRTC
04/11/2023
3
• Previously CIO France
• Co-founder & CEO
• WebRTC Working Group
Arnaud Budkiewicz
04/11/2023
4
Large Scale Challenges: client
#1 WebRTC B2C platform, in production since early 2012• Frictionless– Simple: a Permanent link to be reached– Any browser: WebRTC & Flash >> the same UX, features
based on 1 million minutes of video call /month
04/11/2023
5
Chrome App
• Open: No registration, no need to be friend>> the right signaling protocol: XMPP>> to build a Guest mode>> and Gateways to G+, FB, Y!, VK… with SSO
• Add Full-time Presence to the Web>> Android Native App
Large Scale Challenges: client
04/11/2023
6
• Cross-platform WebRTC video calls: >> all implementations, all devices– Firefox, Chrome, Chrome OS Devices– Android Mobile Web & Native app, Google Glass
321
from a QRcodeto a video callin a mobile browser
Large Scale Challenges: client
04/11/2023
7
• Video & Audio Quality, Battery life: Codecs– OPUS & VP8: software– H264
• Firefox started H264 integration• Could help leverage WebRTC
Large Scale Challenges: client• Security– WebRTC flows 256-bit AES encrypted– other communications => HTTPS
– First VP8 devices• Google Nexus 5• Kindle Fire HDX
04/11/2023
8
• Multi-party WebRTC Conferencing: pushing the limits– 1 permanent link per user: Dedicated signaling– 4 parties video conferencing
• High CPU usage on the client• Mesh network: no MCU
– Chat without Chat server: Data channels– Screen sharing, Chrome only
Large Scale Challenges: client
04/11/2023
9
Network communications• Flexible, interoperability– REST/JSONWebRTC standard does NOTinclude the signaling
• XMPP over HTTP• LibJingle
92%
• NAT, Firewalls, 3G/4G– WebRTC => STUN/TURN– Flash => RTMP, RTMPT
Large Scale Challenges: net
04/11/2023
10
Large Scale Challenges: backendServer side• Automated, Scalable, Elastic
Cloud based on AWS EC2• Gateways: make the contact list run fast
1 gateway activated by 1 user get list & presence ALL his contacts
+200 Million contacts => Cache Redis• Geo-localize: to be close to the user
=> DB sharding, TURN clustered
04/11/2023
11
Large Scale Challenges: APIs• Easy to integrate
WordPress, JS, WidgetsSDK Android
• Flexible– XMPP? => Dedicated signaling– Presence management => Websocket Clustered
• Secure =>Api Token /application, domain locked
• Scalable architecture– Socket.io + Nodejs + Redis + pub/sub + MemCache
04/11/2023
12«one of the most complete WebRTC solution set»
Thank you
«Bistri, the next Skype-killer»