W3C home > Mailing lists > Public > public-webrtc@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:21 +0000
To: public-webrtc@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:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 February 2018 14:43:12 UTC