W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 2018

[webrtc-stats] Pull Request: Moved trackId from RTCRTPStreamStats to RTC[In/Out]boundRTPStreamStats.

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Feb 2018 14:42:12 +0000
To: public-webrtc-logs@w3.org
Message-ID: <pull_request.opened-167711142-1518014531-sysbot+gh@w3.org>
henbos has just submitted a new pull request for https://github.com/w3c/webrtc-stats:

== Moved trackId from RTCRTPStreamStats to RTC[In/Out]boundRTPStreamStats. ==
Fixes #325.

What this does effectively is remove `trackId` from the `RTCRemote[In/Out]boundRTPStreamStats` which don't have remote versions (but do have corresponding local track attachments referenced by the non-remote stream stats' trackId, which are accessed throug the remote's localId, but this is not the same thing as the remote's view of the track attachment which does not exist).

It would make more sense to put the trackId inside of the sender/receiver stats but it is kept here for backwards compatibility reasons and we are likely to want to remove track stats in the future, no need to simplify accessing them from sender/receiver.

See https://github.com/w3c/webrtc-stats/pull/326
Received on Wednesday, 7 February 2018 14:43:02 UTC

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