W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > May 2019

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

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 May 2019 14:47:37 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-492686904-1557931654-sysbot+gh@w3.org>
> 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

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