Minor stats fix

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 UTC