W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > May 2017

Re: [webrtc-stats] Need DSCP information for outgoing RTP streams

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Thu, 11 May 2017 07:24:55 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-300705461-1494487493-sysbot+gh@w3.org>
Since the receiver could receive _any_ codepoint, I don't think having 9 counters will scale. I'd suggest just having a map of DSCP codepoints to "packets received" counters. For example:

```
{ 
  34: 120, // I-frame packets, AF41
  36: 749  // P-frame packets, AF42
}
```

WebIDL has a "record type" for this purpose, apparently: https://heycam.github.io/webidl/#idl-record

But it's not in WebIDL 1.0...

-- 
GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/133#issuecomment-300705461 using your GitHub account
Received on Thursday, 11 May 2017 07:25:02 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:40 UTC