W3C home > Mailing lists > Public > public-webrtc@w3.org > January 2015

Re: RTCStatsType value for datachannel stata

From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
Date: Tue, 6 Jan 2015 18:25:52 +0100
Cc: Harald Alvestrand <harald@alvestrand.no>, "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-Id: <2705E1BF-CE4A-4439-9473-3EFA8BF48E70@lurchi.franken.de>
To: Singh Varun <varun.singh@aalto.fi>
On 06 Jan 2015, at 14:00, Singh Varun <varun.singh@aalto.fi> wrote:

> Hi Michael,
> 
> 
>> On 06 Jan 2015, at 14:32, Michael Tuexen <Michael.Tuexen@lurchi.franken.de> wrote:
>> 
>> On 06 Jan 2015, at 07:13, Harald Alvestrand <harald@alvestrand.no> wrote:
>> 
>>> Den 06. jan. 2015 00:14, skrev Singh Varun:
>>>> Hi Harald,
>>>> 
>>>> Response inline.
> [Snip!]
>>>>> 
>>>>> There are no values for the datachannel stats.
>>>>> 
>>>>> To make this symmetric with RTP, I suggest we add "inbounddata" and "outbounddata".
>>>>> 
>>>> I presume that the stats currently in RTCDataChannelStats will then be split to inbound and outbound?
>>> 
>>> 
>>> On second consideration, that doesn't make sense. The reason RTP is
>>> split is that RTP is unidirectional, while datachannel is bidirectional.
>>> 
>>> Second proposal:
>>> The string should be "datachannel". No split.
>> Are there counters needed for abandoned messages? Should these counters
>> be different for messages which have never been sent or for which at least
>> one part was sent once?
>> 
> 
> Are these metrics (abandoned message, etc.) defined somewhere? It would be easier to include them if we can just point to a definition in some existing standards document.
The way to get them is defined in
https://tools.ietf.org/html/draft-ietf-tsvwg-sctp-prpolicies-06#section-4.3

Best regards
Michael
> 
>> Best regards
>> Michael
>>> 
>>> 
>>>> 
>>>> dictionary RTCDataChannelStats : RTCStats {
>>>>  DOMString           label;
>>>>  DOMString           protocol;
>>>>  long                datachannelid;
>>>>  RTCDataChannelState state;
>>>> };
>>>> 
>>>> dictionary ourbounddata: RTCDataChannelStats {
>>>>  unsigned long       messagesSent;
>>>>  unsigned long long  bytesSent;
>>>> }
>>>> 
>>>> dictionary inbounddata: RTCDataChannelStats {
>>>>  unsigned long       messagesReceived;
>>>>  unsigned long long  bytesReceived;
>>>> }
>>>> 
>>>> 
>>>> http://www.netlab.tkk.fi/~varun
> 
> 
> http://www.netlab.tkk.fi/~varun
> 
> 
> 
Received on Tuesday, 6 January 2015 17:26:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:42 UTC