W3C home > Mailing lists > Public > public-webrtc@w3.org > November 2012

Minor stats fix

From: Harald Alvestrand <harald@alvestrand.no>
Date: Wed, 21 Nov 2012 16:48:51 +0100
Message-ID: <50ACF7E3.2060501@alvestrand.no>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
News from the implementation front: I've got a working stats demo. It's 
not checked in yet, so no, you can't try it.

News from the standards-writing front: No, I haven't gotten around to 
writing my promised rewrite of the stats stuff based on the discussions 
in Lyon. But I've decided I'd like one small fix "right now".

I'd like one more function added to the RTCStatsReport element in the 
spec. Current:

interfaceRTCStatsReport  {
     readonly attributelong  timestamp  <http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-timestamp>;
     any  getValue  <http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-getValue-any-DOMString-statName>  (DOMString  statName);
};

I'd like this changed to:

interfaceRTCStatsReport  {
     readonly attributelong  timestamp  <http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-timestamp>;
     sequence<String> names();
      any  getValue  <http://dev.w3.org/2011/webrtc/editor/webrtc.html#widl-RTCStatsReport-getValue-any-DOMString-statName>  (DOMString  statName);
};

That is - a function that returns all possible parameters to "getValue".
It's been suggested before, I've just not gotten around to calling it 
(or implementing it).
Is this OK with people?

                      Harald
Received on Wednesday, 21 November 2012 15:49:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 21 November 2012 15:49:25 GMT