Re: [webrtc-stats] Add RTCMediaSourceStats dictionary for pre-encoding metrics (#435)

> Query: If two tracks are sourced from the same source, set up with different constraints, and attached to the same PeerConnection, will there be one or two source objects?

The "source" in the context of WebRTC refers to tracks (would have called them "track" stats if that wasn't already in-use). Asking "where does the track get its media from?" is leaving the scope of WebRTC.

Current proposal:
- Two tracks with different constraints will show up as two different media sources even if they originate from the same camera.
- A track that is attached to multiple senders will show up as a single media source. This is relevant for the total frame counter.

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/pull/435#issuecomment-492686904 using your GitHub account

Received on Wednesday, 15 May 2019 14:47:38 UTC