Re: [webrtc-stats] What is the lifetime of datachannel stats? (#805)

Fixing the fiddle to show data-channel stats rather than transport stats, I get:

[{
  bytesReceived: 0,
  bytesSent: 0,
  dataChannelIdentifier: 0,
  id: "D2",
  label: "getStats",
  messagesReceived: 0,
  messagesSent: 0,
  protocol: "",
  state: "connecting",
  timestamp: 1743454696985.706,
  type: "data-channel"
}]

Note that the label and protocol fields, as well as the state, have values that give some information that might be useful.

-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/805#issuecomment-2767385598 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 31 March 2025 20:59:45 UTC