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

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