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
StatsAPI Updates for TPAC14
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Varun Singh
October 30, 2014
Technology
59
1
Share
StatsAPI Updates for TPAC14
W3C Meeting, TPAC14, Santa Clara
Varun Singh
October 30, 2014
More Decks by Varun Singh
See All by Varun Singh
WebRTC Application interactions API
vr000m
0
98
XRBLOCK Yokohama: update to various drafts
vr000m
0
82
Statistics and Metrics in WebRTC
vr000m
0
770
Flexible FEC
vr000m
0
130
WebRTC Statistics Identifier
vr000m
0
65
Multipath RTP Updates
vr000m
0
110
Protocols and Algorithms for Adaptive Multimedia Systems
vr000m
0
120
Gearbox: Cache-friendly Congestion Control for DASH
vr000m
0
150
Flexible FEC Update
vr000m
0
94
Other Decks in Technology
See All in Technology
Typiaで配信JSONの安全性を構造的に担保する(TSKaigi2026)
righttouch
PRO
1
190
Agentic Design Patterns
glaforge
0
230
Geek Woman の育ち方 〜コミュニティとAIと〜
chicaco
0
430
Datadog 認定試験の概要と対策
uechishingo
0
120
テストコードのないプロジェクトにテストを根付かせる
tttol
0
210
シンデレラなんかになりたくない!ガラスの靴が割れた時代にどう歩く?
nomizone
0
210
Claude Code x Accounting
kawaguti
PRO
1
330
最低限これだけ押さえれ大丈夫_Claude Enterprise/Team企業展開ガバナンス入門
tkikuchi
1
290
Javaで学ぶSOLID原則
negima
1
210
責任あるソフトウェアエンジニアリングの紹介4章・5章 / RSE_Ch4-5
ido_kara_deru
0
350
Python開発環境にハーネス適用を検討する
yuuka51
1
540
はじめてのDatadog
kairim0
0
130
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
250
Joys of Absence: A Defence of Solitary Play
codingconduct
1
380
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
The untapped power of vector embeddings
frankvandijk
2
1.7k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
340
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Bash Introduction
62gerente
615
210k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
350
How GitHub (no longer) Works
holman
316
150k
The Invisible Side of Design
smashingmag
302
52k
Transcript
Identifiers for WebRTC's statistics API TPAC 2014, Santa Clara 31
October Varun Singh Harald Alvestrand
What • Extends the identifiers reported in the getStats() API
(Was documented in the W3C wiki, mailing list discussions)
Current status • First Public Working Draft published • http://www.w3.org/TR/2014/WD-webrtc-
stats-20141021
RTCStatsType needs to be updated in webrtc-pc? • "inboundrtp", •
"outboundrtp", • "session", • "track", • "transport", • "candidatepair", • "localcandidate", • "remotecandidate"
stats dictionaries • RTCRTPStreamStats • RTCInboundRTPStreamStats • RTCOutboundRTPStreamStats • RTCCodec
• RTCPeerConnectionStats (datachannel opened/closed) • RTCMediaStreamTrackStats • RTCDataChannelStats • RTCTransportStats • RTCIceCandidateAttributes • RTCIceCandidatePairStats • RTCCertificateStats
Open issues (1/3) RTCInboundRTPStreamStats • Reports RR variables, but not
fractionLost (add/ remove) Possible additional metrics • packetsDiscarded? • packetsRepaired?
Open issues (2/3) RTCDataChannelStats: • bytesSent / bytesReceived • Represents
the total number of bytes sent/received on this PeerConnection. • in RTP this is the size of the payload and not including the header. • clarify if these are just the size of the • payload, or • payload and the packet headers
Open issues (3/3) dictionary RTCCodec : RTCStats { unsigned long
payloadType; DOMString codec; // e.g., video/vp8 unsigned long clockRate; ==> sampleRate? unsigned long channels; DOMString parameters; }; replace “DOMString codec;” with DOMString kind; // enum? e.g., video DOMString name; // e.g. PCMU
Next Steps • Are we missing any metrics? • More
metrics defined in IETF (XRBLOCK/IPPM) https://tools.ietf.org/html/draft-ietf-xrblock-rtcweb-rtcp-xr-metrics
References • GitHub URL: http://w3c.github.io/webrtc-stats/