Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lightning talk:
Search
Varun Singh
October 01, 2014
0
51
Lightning talk:
Chicago, 2014.
IIT-RTC Conf
Varun Singh
October 01, 2014
Tweet
Share
More Decks by Varun Singh
See All by Varun Singh
WebRTC Application interactions API
vr000m
0
77
XRBLOCK Yokohama: update to various drafts
vr000m
0
58
Statistics and Metrics in WebRTC
vr000m
0
580
Flexible FEC
vr000m
0
110
WebRTC Statistics Identifier
vr000m
0
49
Multipath RTP Updates
vr000m
0
51
Protocols and Algorithms for Adaptive Multimedia Systems
vr000m
0
89
Gearbox: Cache-friendly Congestion Control for DASH
vr000m
0
110
Flexible FEC Update
vr000m
0
67
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
58
14k
GitHub's CSS Performance
jonrohan
1023
450k
StorybookのUI Testing Handbookを読んだ
zakiyama
10
4.5k
The Cost Of JavaScript in 2023
addyosmani
13
3.7k
Designing for Performance
lara
601
67k
Building Adaptive Systems
keathley
29
1.8k
Imperfection Machines: The Place of Print at Facebook
scottboms
257
12k
No one is an island. Learnings from fostering a developers community.
thoeni
14
2k
Music & Morning Musume
bryan
39
5.5k
Bootstrapping a Software Product
garrettdimon
PRO
302
110k
Practical Orchestrator
shlominoach
180
9.7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
272
12k
Transcript
RTC Performance Testing Monitoring and Management Varun Singh @vr000m, @callstatsio
Chicago, 01st October 2014
Contributions • Research – Congestion control – Error resilience • Standardization – Circuit
breakers, adaptive FEC – Extending RTCP XR reports – Multipath RTP – WebRTC Statistics API 2
None
Deconstruction • Testing – In Testbeds – In deployments •
Monitoring à Measure – RTCP Extended Reports – WebRTC Stats API • Management – Congestion control – Application interaction – Infrastructure control 4
Measurement Architecture Browser Internals (WebRTC Stack) Browser Internals (WebRTC Stack)
WebRTC API WebRTC API APP APP WebRTC Server Signaling Protocol (e.g., SIP, Jingle, …) PeerConnection SRTP/DTLS/UDP Data/SCTP/DTLS/UDP Network Monitoring • TURN • Gateway Client Monitoring STATS API Monitoring Server HTTP or WebSockets HTTP, IPFIX, or NetFlow RTCP XR 5
Gameplan 1. Wait for feedback/emails customers 2. RTCP XR monitoring
3. WebRTC StatsAPI 6
Manual data gathering • Use chrome://webrtc-internals • User monitors their
session 7
RTCP Monitoring • Send metrics to a performance monitoring server
• Needs support in the WebRTC Stack – Implement RTCP Extension Reports http://tools.ietf.org/html/rfc6792 8 http://tools.ietf.org/html/draft-huang-xrblock-rtcweb-rtcp-xr-metrics
WebRTC Stats API • pc.getStats() – ICE Transport metrics – Audio metrics
– Video metrics – Data channel metrics – … • Endpoints adapt their settings http://w3c.github.io/webrtc-stats/ 9
Performance Monitoring • Annoyances – Call setup time, call failures, NAT
traversal • Transport quality – Relayed or not – Session throughput, delay and loss • Per-stream media quality – Quality Models, MoS, User feedback 10
Management • Endpoint management – Congestion control – DSCP markings
• WebRTC Infra management – TURN server – Conference server – Media Resource Function • Network Management – DPI à SNMP – SDN/NFV 11
12 Gather Report Analyze FIX Deploy? webrtc-internal? via email? Has
this been reported before? Did it solve the issue? Until next report? Integrate Deploy Diagnose FIX