W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2019

[webrtc-stats] wrong definition of RTCIceServerStats.protocol? (#512)

From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
Date: Fri, 18 Oct 2019 07:27:16 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-508903658-1571383634-sysbot+gh@w3.org>
fippo has just created a new issue for https://github.com/w3c/webrtc-stats:

== wrong definition of RTCIceServerStats.protocol? ==
The definition of [RTCIceServerStats.protocol](https://w3c.github.io/webrtc-stats/#dom-rtciceserverstats-protocol) seems to be copied from another place, most likely [this one](https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatestats-protocol):
```
    Valid values for transport is one of udp and tcp. Based on the "transport" defined in [RFC5245] section 15.1.
```
which is the protocol used by the candidate. We're rather interested in the protocol used to connect to the TURN server to say "how long is the RTT for this udp turn server", no?
I.e. we want [relayProtocol](https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatestats-relayprotocol):
```
It is the protocol used by the endpoint to communicate with the TURN server. This is only present for local candidates. Valid values are udp, tcp, or tls. 
```
We could obviously extract that from the url but...

chore task: all the references to 5245 need to be updated :-|

Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/512 using your GitHub account
Received on Friday, 18 October 2019 07:27:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:29 UTC